#AFB22A#AFB22A
#AFB22A is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.8% C 0.149 H 110.9°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB22A |
|---|---|
| RGB | rgb(175, 178, 42) |
| HSL | hsl(61, 62%, 43%) |
| HSV | hsv(61, 76%, 70%) |
| CMYK | cmyk(1.7%, 0%, 76.4%, 30.2%) |
| CIE-LAB | lab(70.26, -16.82, 63.81) |
| CIE-LCH | lch(70.26, 65.98, 104.77°) |
| OKLab | oklab(73.79% -0.0532 0.1396) |
| OKLCH | oklch(73.79% 0.149 110.9) |
| XYZ | xyz(34.0187, 41.1229, 8.3355) |
| Luminance | 0.4112 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.70
Snot
#ACBB0D
ΔE00 3.56
Puke
#A5A502
ΔE00 3.95
Vomit
#A2A415
ΔE00 4.07
Puke Green
#9AAE07
ΔE00 4.35
Puke Yellow
#C2BE0E
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB22A #2D2AB2
analogous
#B2712A #AFB22A #6BB22A
triadic
#AFB22A #2AAFB2 #B22AAF
tetradic
#AFB22A #2AB271 #2D2AB2 #B22A6B
square
#AFB22A #2AB271 #2D2AB2 #B22A6B
split-complementary
#AFB22A #2A6BB2 #712AB2
monochromatic
#4E4F13 #7E801E #AFB22A #D0D346 #DDDF77
Accessibility & contrast
On white
2.28
#AFB22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#AFB22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB22A
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB22A | 1.00 | 2.28 | 9.22 | 9.22 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA04
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#BCA799
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb22a; /* rgb */ color: rgb(175, 178, 42); /* oklch */ color: oklch(73.8% 0.149 110.9);
Tailwind
colors: {
custom: {
50: '#cbc86f',
500: '#afb22a',
950: '#000000',
},
}SCSS
$custom: #afb22a; $custom-light: #cbc86f; $custom-dark: #000000;
JSON
{
"hex": "#afb22a",
"rgb": {
"r": 175,
"g": 178,
"b": 42
},
"hsl": {
"h": 61.324,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.73787,
"c": 0.14936,
"h": 110.9
},
"luminance": 0.41122
}Semantic roles & 50–950 ramp
primary
#AFB22A
secondary
#7371C7
accent
#43E546
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B