RAL Classic color
RAL 1005 Honey yellow #A98307
RAL 1005 Honey yellow is shown here as #A98307, a widely published sRGB approximation of the printed swatch. It is a soft amber in the yellow family. In OKLCH it sits at lightness 0.629, chroma 0.127 and hue 87.8°. The nearest CSS named color is darkgoldenrod (#B8860B), ΔE2000 4.0 away.
- Relative luminance
- 0.2468
- OKLCH L · C · h
- 0.629 · 0.127 · 87.8
- Best text
- Black 5.93:1
- Hue family
- Yellow
#A98307 color codes
- HEX
#A98307- RGB
rgb(169, 131, 7)- HSL
hsl(46, 92%, 35%)- OKLCH
oklch(0.629 0.127 87.8)- OKLab
oklab(0.629 0.005 0.127)- CIELAB (D65)
L* 56.77, a* 4.64, b* 60.83- XYZ (D65)
X 24.52, Y 24.68, Z 3.67- CMYK (naive)
cmyk(0%, 22%, 96%, 34%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.
Legibility
Contrast: is #A98307 accessible?
Black text on it reaches 5.93:1, passing AA. White text manages only 3.53:1, enough for large text only.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
5.93:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc +41
-
White text on it
3.53:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc −68
-
As text on black
5.93:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc −38
-
As text on white
3.53:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc +62
Nearest versions that pass 4.5:1
-
For text on white
#947200 4.50:1
Darkening its OKLCH lightness from 0.63 to 0.57 reaches 4.50:1 on white, keeping the hue.
-
For text on black
#A98307 5.93:1
It already reaches 5.93:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #A98307 live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #A98307
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #A98307 sits at step 500.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #A98307 can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.129; #A98307 uses 99% of it. Display P3, which many recent phones and laptops show, reaches 0.148 there: 15% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.127
- sRGB edge
- 0.129
- Display P3 edge
- 0.148
- Rec. 2020 edge
- 0.152
- Dominant wavelength
- 578 nm
- Excitation purity
- 81%
- Chromaticity
- x 0.4637, y 0.4668
- This color#A98307
- Most vivid in sRGB#A98300
- Most vivid in Display P3oklch(0.629 0.148 87.8)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #a98307;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.6565 0.5137 0); }
}
Mixing
Mixing #A98307
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#D4C183
- OKLab50%#D4C194
- OKLCH50%#D4C194
Black #000000
- sRGB50%#554204
- OKLab50%#3F2F01
- OKLCH50%#3F2F01
Its complement #6784D6
- sRGB50%#88846F
- OKLab50%#888889
- OKLCH50%#C56589
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #a98307, white);
color: color-mix(in oklch, #a98307 50%, white);
In use
#A98307 in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:15.93:1 Passes
- Link and body-size textText, 4.5:13.53:1 Fails
- Large headingLarge text, 3:13.53:1 Passes
- Icons, borders and focus ringsNon-text, 3:13.53:1 Passes
For text on this page, the nearest shade that passes is #947200 4.50:1
Dark page
- Button labelText, 4.5:15.93:1 Passes
- Link and body-size textText, 4.5:15.29:1 Passes
- Large headingLarge text, 3:15.29:1 Passes
- Icons, borders and focus ringsNon-text, 3:15.29:1 Passes
Color vision
How #A98307 looks with color blindness
Tritanopia changes it most, ΔE2000 29.5; protanopia changes it least, 6.1.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#958200 ΔE2000 6.1
Noticeable
Reads as soft amber
-
Deuteranopia
No working green (medium-wavelength) cones
#9E8C14 ΔE2000 6.4
Noticeable
Reads as soft amber
-
Tritanopia
No working blue (short-wavelength) cones
#B8766F ΔE2000 29.5
Distinct
Reads as muted red
-
Achromatopsia
No cone color vision; lightness only
#888888 ΔE2000 25.7
Distinct
Reads as gray
Pairing check
Checked against its complement, #6784D6. Their lightness contrast is only 1.01:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #A98307 · #6784D6 | 53.2 | Stays distinct |
| Protanopia | #958200 · #638CD9 | 53.5 | Stays distinct |
| Deuteranopia | #9E8C14 · #5782D4 | 54.9 | Stays distinct |
| Tritanopia | #B8766F · #3296A3 | 50.3 | Stays distinct |
| Achromatopsia | #888888 · #878787 | 0.4 | Easily confused |
Harmony
Color harmonies for #A98307
Its complement is #6784D6, a soft blue, on the cool side of the wheel.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#A98307
- Complement#6784D6
Complementary
Open in Harmony Studio- −30°#C1732F
- Base#A98307
- +30°#83932B
Analogous
Open in Harmony Studio- Base#A98307
- +120°#009BAB
- +240°#B16BB0
Triadic
Open in Harmony Studio- Base#A98307
- +150°#2592CC
- +210°#9276CB
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-ral-1005: #a98307;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'ral-1005': '#a98307',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-ral-1005: oklch(0.629 0.127 87.8);
}
{
"color": {
"ral-1005": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.6627, 0.5137, 0.0275],
"hex": "#a98307"
},
"$description": "RAL 1005 Honey yellow (approximate sRGB)"
}
}
}
import SwiftUI
enum Palette {
static let ral1005 = Color(.sRGB, red: 0.663, green: 0.514, blue: 0.027, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Ral1005 = Color(0xFFA98307)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #A98307 in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.