#AFBD37#AFBD37
#AFBD37 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.3% C 0.154 H 115.3°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD37 |
|---|---|
| RGB | rgb(175, 189, 55) |
| HSL | hsl(66, 55%, 48%) |
| HSV | hsv(66, 71%, 74%) |
| CMYK | cmyk(7.4%, 0%, 70.9%, 25.9%) |
| CIE-LAB | lab(73.41, -21.72, 62.36) |
| CIE-LCH | lch(73.41, 66.03, 109.20°) |
| OKLab | oklab(76.33% -0.0657 0.1388) |
| OKLCH | oklch(76.33% 0.154 115.3) |
| XYZ | xyz(36.5673, 45.7856, 10.5249) |
| Luminance | 0.4578 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.54
Pea
#A4BF20
ΔE00 2.81
Mustard Green
#A8B504
ΔE00 3.29
Sick Green
#9DB92C
ΔE00 3.43
Bile
#B5C306
ΔE00 3.55
Gross Green
#A0BF16
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD37 #4537BD
analogous
#BD8837 #AFBD37 #6CBD37
triadic
#AFBD37 #37AFBD #BD37AF
tetradic
#AFBD37 #37BD88 #4537BD #BD376C
square
#AFBD37 #37BD88 #4537BD #BD376C
split-complementary
#AFBD37 #376CBD #8837BD
monochromatic
#575E1B #838E29 #AFBD37 #C5D160 #D6DF90
Accessibility & contrast
On white
2.07
#AFBD37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#AFBD37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD37
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD37 | 1.00 | 2.07 | 10.16 | 10.16 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB31F
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd37; /* rgb */ color: rgb(175, 189, 55); /* oklch */ color: oklch(76.3% 0.154 115.3);
Tailwind
colors: {
custom: {
50: '#cad077',
500: '#afbd37',
950: '#000000',
},
}SCSS
$custom: #afbd37; $custom-light: #cad077; $custom-dark: #000000;
JSON
{
"hex": "#afbd37",
"rgb": {
"r": 175,
"g": 189,
"b": 55
},
"hsl": {
"h": 66.269,
"s": 54.918,
"l": 47.843
},
"oklch": {
"l": 0.76329,
"c": 0.15355,
"h": 115.3
},
"luminance": 0.45785
}Semantic roles & 50–950 ramp
primary
#AFBD37
secondary
#8D86C9
accent
#4ADE59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B