#AF9830#AF9830
#AF9830 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.2% C 0.123 H 96.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9830 |
|---|---|
| RGB | rgb(175, 152, 48) |
| HSL | hsl(49, 57%, 44%) |
| HSV | hsv(49, 73%, 69%) |
| CMYK | cmyk(0%, 13.1%, 72.6%, 31.4%) |
| CIE-LAB | lab(63.17, -2.92, 54.95) |
| CIE-LCH | lch(63.17, 55.02, 93.04°) |
| OKLab | oklab(68.15% -0.0135 0.1219) |
| OKLCH | oklch(68.15% 0.123 96.3) |
| XYZ | xyz(29.4424, 31.7854, 7.3801) |
| Luminance | 0.3178 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.08
Baby Shit Brown
#AD900D
ΔE00 3.47
Baby Poo
#AB9004
ΔE00 3.55
Dark Gold
#B59410
ΔE00 3.61
Yellow Brown
#B79400
ΔE00 4.36
Ocher
#BF9B0C
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9830 #3047AF
analogous
#AF5830 #AF9830 #86AF30
triadic
#AF9830 #30AF98 #9830AF
tetradic
#AF9830 #30AF58 #3047AF #AF3086
square
#AF9830 #30AF58 #3047AF #AF3086
split-complementary
#AF9830 #3086AF #5830AF
monochromatic
#4F4516 #7F6E23 #AF9830 #CEB74E #DCCB7E
Accessibility & contrast
On white
2.85
#AF9830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#AF9830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9830
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9830 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#AE9C36
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af9830; /* rgb */ color: rgb(175, 152, 48); /* oklch */ color: oklch(68.2% 0.123 96.3);
Tailwind
colors: {
custom: {
50: '#cbb66f',
500: '#af9830',
950: '#000000',
},
}SCSS
$custom: #af9830; $custom-light: #cbb66f; $custom-dark: #000000;
JSON
{
"hex": "#af9830",
"rgb": {
"r": 175,
"g": 152,
"b": 48
},
"hsl": {
"h": 49.134,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.68151,
"c": 0.12264,
"h": 96.3
},
"luminance": 0.31784
}Semantic roles & 50–950 ramp
primary
#AF9830
secondary
#7685C4
accent
#63E048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B