#AFBF2E#AFBF2E
#AFBF2E is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.7% C 0.161 H 115.9°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF2E |
|---|---|
| RGB | rgb(175, 191, 46) |
| HSL | hsl(67, 61%, 46%) |
| HSV | hsv(67, 76%, 75%) |
| CMYK | cmyk(8.4%, 0%, 75.9%, 25.1%) |
| CIE-LAB | lab(73.92, -23.13, 65.90) |
| CIE-LCH | lch(73.92, 69.85, 109.34°) |
| OKLab | oklab(76.72% -0.0704 0.1447) |
| OKLCH | oklch(76.72% 0.161 115.9) |
| XYZ | xyz(36.8041, 46.5734, 9.6350) |
| Luminance | 0.4657 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.96
Pea
#A4BF20
ΔE00 2.27
Bile
#B5C306
ΔE00 2.68
Baby Puke Green
#B6C406
ΔE00 2.85
Gross Green
#A0BF16
ΔE00 3.04
Mustard Green
#A8B504
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF2E #3E2EBF
analogous
#BF872E #AFBF2E #67BF2E
triadic
#AFBF2E #2EAFBF #BF2EAF
tetradic
#AFBF2E #2EBF87 #3E2EBF #BF2E67
square
#AFBF2E #2EBF87 #3E2EBF #BF2E67
split-complementary
#AFBF2E #2E67BF #872EBF
monochromatic
#555C16 #828E22 #AFBF2E #C8D654 #D8E286
Accessibility & contrast
On white
2.04
#AFBF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.31
#AFBF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF2E
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF2E | 1.00 | 2.04 | 10.31 | 10.31 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB507
Deuteranopia (green-blind)
#CBB73B
Tritanopia (blue-blind)
#BAB4A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf2e; /* rgb */ color: rgb(175, 191, 46); /* oklch */ color: oklch(76.7% 0.161 115.9);
Tailwind
colors: {
custom: {
50: '#cbd273',
500: '#afbf2e',
950: '#000000',
},
}SCSS
$custom: #afbf2e; $custom-light: #cbd273; $custom-dark: #000000;
JSON
{
"hex": "#afbf2e",
"rgb": {
"r": 175,
"g": 191,
"b": 46
},
"hsl": {
"h": 66.621,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.76722,
"c": 0.16094,
"h": 115.9
},
"luminance": 0.46573
}Semantic roles & 50–950 ramp
primary
#AFBF2E
secondary
#867ECB
accent
#44E455
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B