#AFBA4E#AFBA4E
#AFBA4E is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.9% C 0.133 H 114.5°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA4E |
|---|---|
| RGB | rgb(175, 186, 78) |
| HSL | hsl(66, 44%, 52%) |
| HSV | hsv(66, 58%, 73%) |
| CMYK | cmyk(5.9%, 0%, 58.1%, 27.1%) |
| CIE-LAB | lab(72.75, -18.73, 52.26) |
| CIE-LCH | lch(72.75, 55.51, 109.72°) |
| OKLab | oklab(75.86% -0.055 0.1208) |
| OKLCH | oklch(75.86% 0.133 114.5) |
| XYZ | xyz(36.6140, 44.7824, 13.9213) |
| Luminance | 0.4478 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.01
Light Olive Green
#A4BE5C
ΔE00 4.24
Sick Green
#9DB92C
ΔE00 4.49
Light Olive
#ACBF69
ΔE00 4.50
Pea
#A4BF20
ΔE00 5.05
Snot
#ACBB0D
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA4E #594EBA
analogous
#BA8F4E #AFBA4E #79BA4E
triadic
#AFBA4E #4EAFBA #BA4EAF
tetradic
#AFBA4E #4EBA8F #594EBA #BA4E79
square
#AFBA4E #4EBA8F #594EBA #BA4E79
split-complementary
#AFBA4E #4E79BA #8F4EBA
monochromatic
#606628 #899239 #AFBA4E #C3CB7A #D7DCA6
Accessibility & contrast
On white
2.11
#AFBA4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#AFBA4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA4E
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA4E | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B242
Deuteranopia (green-blind)
#C6B455
Tritanopia (blue-blind)
#B9B0A3
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba4e; /* rgb */ color: rgb(175, 186, 78); /* oklch */ color: oklch(75.9% 0.133 114.5);
Tailwind
colors: {
custom: {
50: '#c9ce84',
500: '#afba4e',
950: '#000000',
},
}SCSS
$custom: #afba4e; $custom-light: #c9ce84; $custom-dark: #000000;
JSON
{
"hex": "#afba4e",
"rgb": {
"r": 175,
"g": 186,
"b": 78
},
"hsl": {
"h": 66.111,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.7586,
"c": 0.13274,
"h": 114.5
},
"luminance": 0.44782
}Semantic roles & 50–950 ramp
primary
#AFBA4E
secondary
#9F9ACA
accent
#54D461
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C