#AFB92E#AFB92E
#AFB92E is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.154 H 113.7°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB92E |
|---|---|
| RGB | rgb(175, 185, 46) |
| HSL | hsl(64, 60%, 45%) |
| HSV | hsv(64, 75%, 73%) |
| CMYK | cmyk(5.4%, 0%, 75.1%, 27.5%) |
| CIE-LAB | lab(72.24, -20.17, 64.34) |
| CIE-LCH | lch(72.24, 67.43, 107.40°) |
| OKLab | oklab(75.37% -0.0622 0.1414) |
| OKLCH | oklch(75.37% 0.154 113.7) |
| XYZ | xyz(35.5224, 44.0099, 9.2077) |
| Luminance | 0.4401 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.00
Mustard Green
#A8B504
ΔE00 2.21
Bile
#B5C306
ΔE00 3.54
Pea
#A4BF20
ΔE00 3.60
Baby Puke Green
#B6C406
ΔE00 3.76
Sick Green
#9DB92C
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB92E #382EB9
analogous
#B97E2E #AFB92E #69B92E
triadic
#AFB92E #2EAFB9 #B92EAF
tetradic
#AFB92E #2EB97E #382EB9 #B92E69
square
#AFB92E #2EB97E #382EB9 #B92E69
split-complementary
#AFB92E #2E69B9 #7E2EB9
monochromatic
#525716 #818822 #AFB92E #CAD451 #D9E082
Accessibility & contrast
On white
2.14
#AFB92E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#AFB92E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB92E
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB92E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB92E | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B00C
Deuteranopia (green-blind)
#C7B23A
Tritanopia (blue-blind)
#BBAE9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb92e; /* rgb */ color: rgb(175, 185, 46); /* oklch */ color: oklch(75.4% 0.154 113.7);
Tailwind
colors: {
custom: {
50: '#cacd72',
500: '#afb92e',
950: '#000000',
},
}SCSS
$custom: #afb92e; $custom-light: #cacd72; $custom-dark: #000000;
JSON
{
"hex": "#afb92e",
"rgb": {
"r": 175,
"g": 185,
"b": 46
},
"hsl": {
"h": 64.317,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.75374,
"c": 0.15449,
"h": 113.7
},
"luminance": 0.44009
}Semantic roles & 50–950 ramp
primary
#AFB92E
secondary
#807AC9
accent
#44E350
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B