#AFBE4C#AFBE4C
#AFBE4C is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.7% C 0.139 H 116.1°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE4C |
|---|---|
| RGB | rgb(175, 190, 76) |
| HSL | hsl(68, 47%, 52%) |
| HSV | hsv(68, 60%, 75%) |
| CMYK | cmyk(7.9%, 0%, 60%, 25.5%) |
| CIE-LAB | lab(73.85, -20.88, 54.36) |
| CIE-LCH | lch(73.85, 58.23, 111.01°) |
| OKLab | oklab(76.73% -0.0612 0.125) |
| OKLCH | oklch(76.73% 0.139 116.1) |
| XYZ | xyz(37.3979, 46.4632, 13.8343) |
| Luminance | 0.4646 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.88
Light Olive Green
#A4BE5C
ΔE00 3.91
Sick Green
#9DB92C
ΔE00 3.92
Pea
#A4BF20
ΔE00 4.16
Light Olive
#ACBF69
ΔE00 4.54
Gross Green
#A0BF16
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE4C #5B4CBE
analogous
#BE944C #AFBE4C #76BE4C
triadic
#AFBE4C #4CAFBE #BE4CAF
tetradic
#AFBE4C #4CBE94 #5B4CBE #BE4C76
square
#AFBE4C #4CBE94 #5B4CBE #BE4C76
split-complementary
#AFBE4C #4C76BE #944CBE
monochromatic
#616926 #8A9637 #AFBE4C #C3CE79 #D7DFA6
Accessibility & contrast
On white
2.04
#AFBE4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.29
#AFBE4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE4C
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE4C | 1.00 | 2.04 | 10.29 | 10.29 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB53F
Deuteranopia (green-blind)
#C9B653
Tritanopia (blue-blind)
#B9B4A6
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe4c; /* rgb */ color: rgb(175, 190, 76); /* oklch */ color: oklch(76.7% 0.139 116.1);
Tailwind
colors: {
custom: {
50: '#c9d183',
500: '#afbe4c',
950: '#000000',
},
}SCSS
$custom: #afbe4c; $custom-light: #c9d183; $custom-dark: #000000;
JSON
{
"hex": "#afbe4c",
"rgb": {
"r": 175,
"g": 190,
"b": 76
},
"hsl": {
"h": 67.895,
"s": 46.721,
"l": 52.157
},
"oklch": {
"l": 0.76732,
"c": 0.13923,
"h": 116.1
},
"luminance": 0.46463
}Semantic roles & 50–950 ramp
primary
#AFBE4C
secondary
#A19ACC
accent
#51D663
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C