#AFBC4D#AFBC4D
#AFBC4D is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.136 H 115.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBC4D |
|---|---|
| RGB | rgb(175, 188, 77) |
| HSL | hsl(67, 45%, 52%) |
| HSV | hsv(67, 59%, 74%) |
| CMYK | cmyk(6.9%, 0%, 59%, 26.3%) |
| CIE-LAB | lab(73.30, -19.81, 53.31) |
| CIE-LCH | lch(73.30, 56.87, 110.38°) |
| OKLab | oklab(76.3% -0.0581 0.123) |
| OKLCH | oklch(76.3% 0.136 115.3) |
| XYZ | xyz(37.0027, 45.6168, 13.8754) |
| Luminance | 0.4562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.88
Light Olive Green
#A4BE5C
ΔE00 4.02
Sick Green
#9DB92C
ΔE00 4.15
Light Olive
#ACBF69
ΔE00 4.48
Pea
#A4BF20
ΔE00 4.57
Snot
#ACBB0D
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBC4D #5A4DBC
analogous
#BC924D #AFBC4D #78BC4D
triadic
#AFBC4D #4DAFBC #BC4DAF
tetradic
#AFBC4D #4DBC92 #5A4DBC #BC4D78
square
#AFBC4D #4DBC92 #5A4DBC #BC4D78
split-complementary
#AFBC4D #4D78BC #924DBC
monochromatic
#606827 #899438 #AFBC4D #C3CD79 #D7DDA6
Accessibility & contrast
On white
2.07
#AFBC4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#AFBC4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBC4D
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBC4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBC4D | 1.00 | 2.07 | 10.12 | 10.12 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B341
Deuteranopia (green-blind)
#C7B554
Tritanopia (blue-blind)
#B9B2A4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbc4d; /* rgb */ color: rgb(175, 188, 77); /* oklch */ color: oklch(76.3% 0.136 115.3);
Tailwind
colors: {
custom: {
50: '#c9d083',
500: '#afbc4d',
950: '#000000',
},
}SCSS
$custom: #afbc4d; $custom-light: #c9d083; $custom-dark: #000000;
JSON
{
"hex": "#afbc4d",
"rgb": {
"r": 175,
"g": 188,
"b": 77
},
"hsl": {
"h": 67.027,
"s": 45.306,
"l": 51.961
},
"oklch": {
"l": 0.76295,
"c": 0.13599,
"h": 115.3
},
"luminance": 0.45616
}Semantic roles & 50–950 ramp
primary
#AFBC4D
secondary
#A09ACB
accent
#53D562
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C