#AF9F2C#AF9F2C
#AF9F2C is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.6% C 0.131 H 101.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9F2C |
|---|---|
| RGB | rgb(175, 159, 44) |
| HSL | hsl(53, 60%, 43%) |
| HSV | hsv(53, 75%, 69%) |
| CMYK | cmyk(0%, 9.1%, 74.9%, 31.4%) |
| CIE-LAB | lab(65.04, -6.86, 58.27) |
| CIE-LCH | lch(65.04, 58.67, 96.71°) |
| OKLab | oklab(69.63% -0.0251 0.1282) |
| OKLCH | oklch(69.63% 0.131 101.1) |
| XYZ | xyz(30.5334, 34.0935, 7.3548) |
| Luminance | 0.3409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.13
Puke
#A5A502
ΔE00 4.99
Vomit
#A2A415
ΔE00 5.12
Muddy Yellow
#BFAC05
ΔE00 5.18
Baby Poo
#AB9004
ΔE00 5.43
Baby Shit Brown
#AD900D
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9F2C #2C3CAF
analogous
#AF5E2C #AF9F2C #7DAF2C
triadic
#AF9F2C #2CAF9F #9F2CAF
tetradic
#AF9F2C #2CAF5E #2C3CAF #AF2C7D
square
#AF9F2C #2CAF5E #2C3CAF #AF2C7D
split-complementary
#AF9F2C #2C7DAF #5E2CAF
monochromatic
#4D4613 #7E7320 #AF9F2C #D1C047 #DDD178
Accessibility & contrast
On white
2.69
#AF9F2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#AF9F2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9F2C
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9F2C | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 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)
#AE9A16
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#BD9389
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af9f2c; /* rgb */ color: rgb(175, 159, 44); /* oklch */ color: oklch(69.6% 0.131 101.1);
Tailwind
colors: {
custom: {
50: '#cbbb6e',
500: '#af9f2c',
950: '#000000',
},
}SCSS
$custom: #af9f2c; $custom-light: #cbbb6e; $custom-dark: #000000;
JSON
{
"hex": "#af9f2c",
"rgb": {
"r": 175,
"g": 159,
"b": 44
},
"hsl": {
"h": 52.672,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.69626,
"c": 0.13061,
"h": 101.1
},
"luminance": 0.34092
}Semantic roles & 50–950 ramp
primary
#AF9F2C
secondary
#727CC5
accent
#58E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B