#AFBF4E#AFBF4E
#AFBF4E is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.139 H 116.5°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF4E |
|---|---|
| RGB | rgb(175, 191, 78) |
| HSL | hsl(68, 47%, 53%) |
| HSV | hsv(68, 59%, 75%) |
| CMYK | cmyk(8.4%, 0%, 59.2%, 25.1%) |
| CIE-LAB | lab(74.14, -21.22, 53.81) |
| CIE-LCH | lch(74.14, 57.84, 111.52°) |
| OKLab | oklab(76.98% -0.062 0.1241) |
| OKLCH | oklch(76.98% 0.139 116.5) |
| XYZ | xyz(37.6858, 46.9261, 14.2786) |
| Luminance | 0.4693 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.65
Booger
#9BB53C
ΔE00 3.94
Sick Green
#9DB92C
ΔE00 4.01
Pea
#A4BF20
ΔE00 4.25
Light Olive
#ACBF69
ΔE00 4.30
Gross Green
#A0BF16
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF4E #5E4EBF
analogous
#BF974E #AFBF4E #76BF4E
triadic
#AFBF4E #4EAFBF #BF4EAF
tetradic
#AFBF4E #4EBF97 #5E4EBF #BF4E76
square
#AFBF4E #4EBF97 #5E4EBF #BF4E76
split-complementary
#AFBF4E #4E76BF #974EBF
monochromatic
#626C27 #8B9937 #AFBF4E #C3CF7B #D8E0A8
Accessibility & contrast
On white
2.02
#AFBF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.39
#AFBF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF4E
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF4E | 1.00 | 2.02 | 10.39 | 10.39 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB641
Deuteranopia (green-blind)
#CAB755
Tritanopia (blue-blind)
#B9B5A7
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf4e; /* rgb */ color: rgb(175, 191, 78); /* oklch */ color: oklch(77.0% 0.139 116.5);
Tailwind
colors: {
custom: {
50: '#c9d284',
500: '#afbf4e',
950: '#000000',
},
}SCSS
$custom: #afbf4e; $custom-light: #c9d284; $custom-dark: #000000;
JSON
{
"hex": "#afbf4e",
"rgb": {
"r": 175,
"g": 191,
"b": 78
},
"hsl": {
"h": 68.496,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.76977,
"c": 0.13874,
"h": 116.5
},
"luminance": 0.46926
}Semantic roles & 50–950 ramp
primary
#AFBF4E
secondary
#A39CCD
accent
#51D764
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C