#AFBE2F#AFBE2F
#AFBE2F is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.5% C 0.159 H 115.6°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE2F |
|---|---|
| RGB | rgb(175, 190, 47) |
| HSL | hsl(66, 60%, 46%) |
| HSV | hsv(66, 75%, 75%) |
| CMYK | cmyk(7.9%, 0%, 75.3%, 25.5%) |
| CIE-LAB | lab(73.64, -22.60, 65.33) |
| CIE-LCH | lch(73.64, 69.13, 109.08°) |
| OKLab | oklab(76.5% -0.0688 0.1437) |
| OKLCH | oklch(76.5% 0.159 115.6) |
| XYZ | xyz(36.6068, 46.1467, 9.6676) |
| Luminance | 0.4615 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.92
Pea
#A4BF20
ΔE00 2.44
Bile
#B5C306
ΔE00 2.82
Mustard Green
#A8B504
ΔE00 2.98
Baby Puke Green
#B6C406
ΔE00 3.01
Gross Green
#A0BF16
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE2F #3E2FBE
analogous
#BE862F #AFBE2F #68BE2F
triadic
#AFBE2F #2FAFBE #BE2FAF
tetradic
#AFBE2F #2FBE86 #3E2FBE #BE2F68
square
#AFBE2F #2FBE86 #3E2FBE #BE2F68
split-complementary
#AFBE2F #2F68BE #862FBE
monochromatic
#555C17 #828D23 #AFBE2F #C8D555 #D8E186
Accessibility & contrast
On white
2.05
#AFBE2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.23
#AFBE2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE2F
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE2F | 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)
#CCB40B
Deuteranopia (green-blind)
#CBB63C
Tritanopia (blue-blind)
#BAB3A3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe2f; /* rgb */ color: rgb(175, 190, 47); /* oklch */ color: oklch(76.5% 0.159 115.6);
Tailwind
colors: {
custom: {
50: '#cad173',
500: '#afbe2f',
950: '#000000',
},
}SCSS
$custom: #afbe2f; $custom-light: #cad173; $custom-dark: #000000;
JSON
{
"hex": "#afbe2f",
"rgb": {
"r": 175,
"g": 190,
"b": 47
},
"hsl": {
"h": 66.294,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.76503,
"c": 0.15932,
"h": 115.6
},
"luminance": 0.46146
}Semantic roles & 50–950 ramp
primary
#AFBE2F
secondary
#867ECB
accent
#44E355
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B