#AFB436#AFB436
#AFB436 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.3% C 0.144 H 111.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB436 |
|---|---|
| RGB | rgb(175, 180, 54) |
| HSL | hsl(62, 54%, 46%) |
| HSV | hsv(62, 70%, 71%) |
| CMYK | cmyk(2.8%, 0%, 70%, 29.4%) |
| CIE-LAB | lab(70.89, -17.27, 60.25) |
| CIE-LCH | lch(70.89, 62.68, 105.99°) |
| OKLab | oklab(74.31% -0.0534 0.1342) |
| OKLCH | oklch(74.31% 0.144 111.7) |
| XYZ | xyz(34.6674, 42.0237, 9.7745) |
| Luminance | 0.4202 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.09
Snot
#ACBB0D
ΔE00 3.62
Puke Green
#9AAE07
ΔE00 4.45
Vomit
#A2A415
ΔE00 4.80
Puke
#A5A502
ΔE00 4.91
Sick Green
#9DB92C
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB436 #3B36B4
analogous
#B47A36 #AFB436 #70B436
triadic
#AFB436 #36AFB4 #B436AF
tetradic
#AFB436 #36B47A #3B36B4 #B43670
square
#AFB436 #36B47A #3B36B4 #B43670
split-complementary
#AFB436 #3670B4 #7A36B4
monochromatic
#53561A #818528 #AFB436 #C9CD5A #D8DC89
Accessibility & contrast
On white
2.23
#AFB436 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#AFB436 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB436
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB436 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB436 | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC21
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#BBA99B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afb436; /* rgb */ color: rgb(175, 180, 54); /* oklch */ color: oklch(74.3% 0.144 111.7);
Tailwind
colors: {
custom: {
50: '#caca75',
500: '#afb436',
950: '#000000',
},
}SCSS
$custom: #afb436; $custom-light: #caca75; $custom-dark: #000000;
JSON
{
"hex": "#afb436",
"rgb": {
"r": 175,
"g": 180,
"b": 54
},
"hsl": {
"h": 62.381,
"s": 53.846,
"l": 45.882
},
"oklch": {
"l": 0.74309,
"c": 0.14441,
"h": 111.7
},
"luminance": 0.42023
}Semantic roles & 50–950 ramp
primary
#AFB436
secondary
#8380C6
accent
#4BDD50
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B