#AF9230#AF9230
#AF9230 is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.9% C 0.119 H 92.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9230 |
|---|---|
| RGB | rgb(175, 146, 48) |
| HSL | hsl(46, 57%, 44%) |
| HSV | hsv(46, 73%, 69%) |
| CMYK | cmyk(0%, 16.6%, 72.6%, 31.4%) |
| CIE-LAB | lab(61.56, 0.34, 53.36) |
| CIE-LCH | lch(61.56, 53.36, 89.64°) |
| OKLab | oklab(66.88% -0.0042 0.1185) |
| OKLCH | oklch(66.88% 0.119 92) |
| XYZ | xyz(28.4931, 29.8868, 7.0637) |
| Luminance | 0.2989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 2.83
Dark Gold
#B59410
ΔE00 3.11
Baby Poo
#AB9004
ΔE00 3.33
Yellowy Brown
#AE8B0C
ΔE00 3.37
Dark Mustard
#A88905
ΔE00 3.82
Yellow Brown
#B79400
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9230 #304DAF
analogous
#AF5230 #AF9230 #8CAF30
triadic
#AF9230 #30AF92 #9230AF
tetradic
#AF9230 #30AF52 #304DAF #AF308C
square
#AF9230 #30AF52 #304DAF #AF308C
split-complementary
#AF9230 #308CAF #5230AF
monochromatic
#4F4216 #7F6A23 #AF9230 #CEB14E #DCC67E
Accessibility & contrast
On white
3.01
#AF9230 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#AF9230 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF9230
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9230 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9230 | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29021
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#BD867E
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #af9230; /* rgb */ color: rgb(175, 146, 48); /* oklch */ color: oklch(66.9% 0.119 92.0);
Tailwind
colors: {
custom: {
50: '#cbb16f',
500: '#af9230',
950: '#000000',
},
}SCSS
$custom: #af9230; $custom-light: #cbb16f; $custom-dark: #000000;
JSON
{
"hex": "#af9230",
"rgb": {
"r": 175,
"g": 146,
"b": 48
},
"hsl": {
"h": 46.299,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.66879,
"c": 0.1186,
"h": 92
},
"luminance": 0.29885
}Semantic roles & 50–950 ramp
primary
#AF9230
secondary
#7688C4
accent
#6AE048
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141008
muted
#827F7B