#AFB137#AFB137
#AFB137 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.141 H 110.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB137 |
|---|---|
| RGB | rgb(175, 177, 55) |
| HSL | hsl(61, 53%, 45%) |
| HSV | hsv(61, 69%, 69%) |
| CMYK | cmyk(1.1%, 0%, 68.9%, 30.6%) |
| CIE-LAB | lab(70.06, -15.69, 59.06) |
| CIE-LCH | lch(70.06, 61.11, 104.88°) |
| OKLab | oklab(73.65% -0.0488 0.1318) |
| OKLCH | oklch(73.65% 0.141 110.3) |
| XYZ | xyz(34.0921, 40.8350, 9.6998) |
| Luminance | 0.4083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.73
Vomit
#A2A415
ΔE00 4.17
Puke
#A5A502
ΔE00 4.30
Snot
#ACBB0D
ΔE00 4.49
Puke Green
#9AAE07
ΔE00 4.79
Olive Yellow
#C2B709
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB137 #3937B1
analogous
#B17637 #AFB137 #72B137
triadic
#AFB137 #37AFB1 #B137AF
tetradic
#AFB137 #37B176 #3937B1 #B13772
square
#AFB137 #37B176 #3937B1 #B13772
split-complementary
#AFB137 #3772B1 #7637B1
monochromatic
#53541A #818228 #AFB137 #CACC5A #D9DA88
Accessibility & contrast
On white
2.29
#AFB137 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#AFB137 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB137
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB137 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB137 | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA924
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afb137; /* rgb */ color: rgb(175, 177, 55); /* oklch */ color: oklch(73.7% 0.141 110.3);
Tailwind
colors: {
custom: {
50: '#cac875',
500: '#afb137',
950: '#000000',
},
}SCSS
$custom: #afb137; $custom-light: #cac875; $custom-dark: #000000;
JSON
{
"hex": "#afb137",
"rgb": {
"r": 175,
"g": 177,
"b": 55
},
"hsl": {
"h": 60.984,
"s": 52.586,
"l": 45.49
},
"oklch": {
"l": 0.7365,
"c": 0.1406,
"h": 110.3
},
"luminance": 0.40834
}Semantic roles & 50–950 ramp
primary
#AFB137
secondary
#8180C4
accent
#4CDC4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B