#AFBC3E#AFBC3E
#AFBC3E is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.2% C 0.148 H 115.0°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBC3E |
|---|---|
| RGB | rgb(175, 188, 62) |
| HSL | hsl(66, 50%, 49%) |
| HSV | hsv(66, 67%, 74%) |
| CMYK | cmyk(6.9%, 0%, 67%, 26.3%) |
| CIE-LAB | lab(73.17, -20.83, 59.48) |
| CIE-LCH | lch(73.17, 63.02, 109.30°) |
| OKLab | oklab(76.16% -0.0625 0.1339) |
| OKLCH | oklch(76.16% 0.148 115) |
| XYZ | xyz(36.5328, 45.4288, 11.4006) |
| Luminance | 0.4543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.23
Pea
#A4BF20
ΔE00 3.34
Sick Green
#9DB92C
ΔE00 3.52
Mustard Green
#A8B504
ΔE00 3.75
Booger
#9BB53C
ΔE00 4.09
Gross Green
#A0BF16
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBC3E #4B3EBC
analogous
#BC8A3E #AFBC3E #70BC3E
triadic
#AFBC3E #3EAFBC #BC3EAF
tetradic
#AFBC3E #3EBC8A #4B3EBC #BC3E70
square
#AFBC3E #3EBC8A #4B3EBC #BC3E70
split-complementary
#AFBC3E #3E70BC #8A3EBC
monochromatic
#596020 #848E2F #AFBC3E #C3CE6A #D6DD98
Accessibility & contrast
On white
2.08
#AFBC3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.09
#AFBC3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBC3E
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBC3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBC3E | 1.00 | 2.08 | 10.09 | 10.09 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B32C
Deuteranopia (green-blind)
#C8B547
Tritanopia (blue-blind)
#BAB1A3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbc3e; /* rgb */ color: rgb(175, 188, 62); /* oklch */ color: oklch(76.2% 0.148 115.0);
Tailwind
colors: {
custom: {
50: '#cad07a',
500: '#afbc3e',
950: '#000000',
},
}SCSS
$custom: #afbc3e; $custom-light: #cad07a; $custom-dark: #000000;
JSON
{
"hex": "#afbc3e",
"rgb": {
"r": 175,
"g": 188,
"b": 62
},
"hsl": {
"h": 66.19,
"s": 50.4,
"l": 49.02
},
"oklch": {
"l": 0.76158,
"c": 0.14775,
"h": 115
},
"luminance": 0.45428
}Semantic roles & 50–950 ramp
primary
#AFBC3E
secondary
#938DC9
accent
#4EDA5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C