#AF9930#AF9930
#AF9930 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.4% C 0.123 H 97.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9930 |
|---|---|
| RGB | rgb(175, 153, 48) |
| HSL | hsl(50, 57%, 44%) |
| HSV | hsv(50, 73%, 69%) |
| CMYK | cmyk(0%, 12.6%, 72.6%, 31.4%) |
| CIE-LAB | lab(63.43, -3.46, 55.21) |
| CIE-LCH | lch(63.43, 55.32, 93.58°) |
| OKLab | oklab(68.36% -0.015 0.1225) |
| OKLCH | oklch(68.36% 0.123 97) |
| XYZ | xyz(29.6054, 32.1114, 7.4344) |
| Luminance | 0.3211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.12
Baby Shit Brown
#AD900D
ΔE00 3.74
Baby Poo
#AB9004
ΔE00 3.77
Dark Gold
#B59410
ΔE00 3.86
Yellow Brown
#B79400
ΔE00 4.58
Ocher
#BF9B0C
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9930 #3046AF
analogous
#AF5930 #AF9930 #85AF30
triadic
#AF9930 #30AF99 #9930AF
tetradic
#AF9930 #30AF59 #3046AF #AF3085
square
#AF9930 #30AF59 #3046AF #AF3085
split-complementary
#AF9930 #3085AF #5930AF
monochromatic
#4F4516 #7F6F23 #AF9930 #CEB84E #DCCB7E
Accessibility & contrast
On white
2.83
#AF9930 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#AF9930 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9930
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9930 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9930 | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99520
Deuteranopia (green-blind)
#AE9D36
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af9930; /* rgb */ color: rgb(175, 153, 48); /* oklch */ color: oklch(68.4% 0.123 97.0);
Tailwind
colors: {
custom: {
50: '#cbb66f',
500: '#af9930',
950: '#000000',
},
}SCSS
$custom: #af9930; $custom-light: #cbb66f; $custom-dark: #000000;
JSON
{
"hex": "#af9930",
"rgb": {
"r": 175,
"g": 153,
"b": 48
},
"hsl": {
"h": 49.606,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.68364,
"c": 0.12339,
"h": 97
},
"luminance": 0.3211
}Semantic roles & 50–950 ramp
primary
#AF9930
secondary
#7684C4
accent
#62E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B