#AF9F30#AF9F30
#AF9F30 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.128 H 100.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9F30 |
|---|---|
| RGB | rgb(175, 159, 48) |
| HSL | hsl(52, 57%, 44%) |
| HSV | hsv(52, 73%, 69%) |
| CMYK | cmyk(0%, 9.1%, 72.6%, 31.4%) |
| CIE-LAB | lab(65.06, -6.67, 56.80) |
| CIE-LCH | lch(65.06, 57.20, 96.70°) |
| OKLab | oklab(69.65% -0.0241 0.1258) |
| OKLCH | oklch(69.65% 0.128 100.9) |
| XYZ | xyz(30.6122, 34.1250, 7.7701) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.32
Puke
#A5A502
ΔE00 5.21
Vomit
#A2A415
ΔE00 5.28
Muddy Yellow
#BFAC05
ΔE00 5.44
Baby Poo
#AB9004
ΔE00 5.55
Baby Shit Brown
#AD900D
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9F30 #3040AF
analogous
#AF5F30 #AF9F30 #7FAF30
triadic
#AF9F30 #30AF9F #9F30AF
tetradic
#AF9F30 #30AF5F #3040AF #AF307F
square
#AF9F30 #30AF5F #3040AF #AF307F
split-complementary
#AF9F30 #307FAF #5F30AF
monochromatic
#4F4816 #7F7323 #AF9F30 #CEBE4E #DCD07E
Accessibility & contrast
On white
2.68
#AF9F30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#AF9F30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9F30
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9F30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9F30 | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#BD9389
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af9f30; /* rgb */ color: rgb(175, 159, 48); /* oklch */ color: oklch(69.7% 0.128 100.9);
Tailwind
colors: {
custom: {
50: '#cabb70',
500: '#af9f30',
950: '#000000',
},
}SCSS
$custom: #af9f30; $custom-light: #cabb70; $custom-dark: #000000;
JSON
{
"hex": "#af9f30",
"rgb": {
"r": 175,
"g": 159,
"b": 48
},
"hsl": {
"h": 52.441,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.69654,
"c": 0.12814,
"h": 100.9
},
"luminance": 0.34124
}Semantic roles & 50–950 ramp
primary
#AF9F30
secondary
#7680C4
accent
#5BE048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B