#AFBB2E#AFBB2E
#AFBB2E is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.8% C 0.157 H 114.5°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB2E |
|---|---|
| RGB | rgb(175, 187, 46) |
| HSL | hsl(65, 61%, 46%) |
| HSV | hsv(65, 75%, 73%) |
| CMYK | cmyk(6.4%, 0%, 75.4%, 26.7%) |
| CIE-LAB | lab(72.79, -21.16, 64.86) |
| CIE-LCH | lch(72.79, 68.23, 108.07°) |
| OKLab | oklab(75.82% -0.0649 0.1425) |
| OKLCH | oklch(75.82% 0.157 114.5) |
| XYZ | xyz(35.9437, 44.8525, 9.3482) |
| Luminance | 0.4485 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.78
Mustard Green
#A8B504
ΔE00 2.41
Pea
#A4BF20
ΔE00 3.09
Bile
#B5C306
ΔE00 3.15
Baby Puke Green
#B6C406
ΔE00 3.37
Sick Green
#9DB92C
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB2E #3A2EBB
analogous
#BB802E #AFBB2E #69BB2E
triadic
#AFBB2E #2EAFBB #BB2EAF
tetradic
#AFBB2E #2EBB80 #3A2EBB #BB2E69
square
#AFBB2E #2EBB80 #3A2EBB #BB2E69
split-complementary
#AFBB2E #2E69BB #802EBB
monochromatic
#535916 #818A22 #AFBB2E #C9D452 #D9E083
Accessibility & contrast
On white
2.11
#AFBB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#AFBB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB2E
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB2E | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B20A
Deuteranopia (green-blind)
#C8B43A
Tritanopia (blue-blind)
#BBB0A0
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb2e; /* rgb */ color: rgb(175, 187, 46); /* oklch */ color: oklch(75.8% 0.157 114.5);
Tailwind
colors: {
custom: {
50: '#cacf72',
500: '#afbb2e',
950: '#000000',
},
}SCSS
$custom: #afbb2e; $custom-light: #cacf72; $custom-dark: #000000;
JSON
{
"hex": "#afbb2e",
"rgb": {
"r": 175,
"g": 187,
"b": 46
},
"hsl": {
"h": 65.106,
"s": 60.515,
"l": 45.686
},
"oklch": {
"l": 0.75822,
"c": 0.15662,
"h": 114.5
},
"luminance": 0.44852
}Semantic roles & 50–950 ramp
primary
#AFBB2E
secondary
#827BCA
accent
#44E452
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B