#AFBE2E#AFBE2E
#AFBE2E is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.5% C 0.160 H 115.6°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE2E |
|---|---|
| RGB | rgb(175, 190, 46) |
| HSL | hsl(66, 61%, 46%) |
| HSV | hsv(66, 76%, 75%) |
| CMYK | cmyk(7.9%, 0%, 75.8%, 25.5%) |
| CIE-LAB | lab(73.64, -22.64, 65.64) |
| CIE-LCH | lch(73.64, 69.44, 109.03°) |
| OKLab | oklab(76.5% -0.069 0.1442) |
| OKLCH | oklch(76.5% 0.16 115.6) |
| XYZ | xyz(36.5868, 46.1387, 9.5625) |
| Luminance | 0.4614 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.84
Pea
#A4BF20
ΔE00 2.44
Bile
#B5C306
ΔE00 2.75
Mustard Green
#A8B504
ΔE00 2.94
Baby Puke Green
#B6C406
ΔE00 2.94
Gross Green
#A0BF16
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE2E #3D2EBE
analogous
#BE852E #AFBE2E #67BE2E
triadic
#AFBE2E #2EAFBE #BE2EAF
tetradic
#AFBE2E #2EBE85 #3D2EBE #BE2E67
square
#AFBE2E #2EBE85 #3D2EBE #BE2E67
split-complementary
#AFBE2E #2E67BE #852EBE
monochromatic
#545B16 #828D22 #AFBE2E #C8D654 #D8E185
Accessibility & contrast
On white
2.05
#AFBE2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.23
#AFBE2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE2E
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE2E | 1.00 | 2.05 | 10.23 | 10.23 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB408
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#BAB3A3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe2e; /* rgb */ color: rgb(175, 190, 46); /* oklch */ color: oklch(76.5% 0.160 115.6);
Tailwind
colors: {
custom: {
50: '#cbd172',
500: '#afbe2e',
950: '#000000',
},
}SCSS
$custom: #afbe2e; $custom-light: #cbd172; $custom-dark: #000000;
JSON
{
"hex": "#afbe2e",
"rgb": {
"r": 175,
"g": 190,
"b": 46
},
"hsl": {
"h": 66.25,
"s": 61.017,
"l": 46.275
},
"oklch": {
"l": 0.76497,
"c": 0.15985,
"h": 115.6
},
"luminance": 0.46138
}Semantic roles & 50–950 ramp
primary
#AFBE2E
secondary
#857DCB
accent
#44E454
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B