#AFBA4A#AFBA4A
#AFBA4A is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.136 H 114.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA4A |
|---|---|
| RGB | rgb(175, 186, 74) |
| HSL | hsl(66, 45%, 51%) |
| HSV | hsv(66, 60%, 73%) |
| CMYK | cmyk(5.9%, 0%, 60.2%, 27.1%) |
| CIE-LAB | lab(72.71, -19.03, 53.99) |
| CIE-LCH | lch(72.71, 57.25, 109.42°) |
| OKLab | oklab(75.82% -0.0562 0.124) |
| OKLCH | oklch(75.82% 0.136 114.4) |
| XYZ | xyz(36.4749, 44.7268, 13.1889) |
| Luminance | 0.4473 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.96
Sick Green
#9DB92C
ΔE00 4.22
Light Olive Green
#A4BE5C
ΔE00 4.58
Pea
#A4BF20
ΔE00 4.66
Snot
#ACBB0D
ΔE00 4.71
Mustard Green
#A8B504
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA4A #554ABA
analogous
#BA8D4A #AFBA4A #77BA4A
triadic
#AFBA4A #4AAFBA #BA4AAF
tetradic
#AFBA4A #4ABA8D #554ABA #BA4A77
square
#AFBA4A #4ABA8D #554ABA #BA4A77
split-complementary
#AFBA4A #4A77BA #8D4ABA
monochromatic
#5E6426 #879037 #AFBA4A #C3CB76 #D6DCA3
Accessibility & contrast
On white
2.11
#AFBA4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#AFBA4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA4A
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA4A | 1.00 | 2.11 | 9.95 | 9.95 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B13D
Deuteranopia (green-blind)
#C6B351
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba4a; /* rgb */ color: rgb(175, 186, 74); /* oklch */ color: oklch(75.8% 0.136 114.4);
Tailwind
colors: {
custom: {
50: '#c9ce81',
500: '#afba4a',
950: '#000000',
},
}SCSS
$custom: #afba4a; $custom-light: #c9ce81; $custom-dark: #000000;
JSON
{
"hex": "#afba4a",
"rgb": {
"r": 175,
"g": 186,
"b": 74
},
"hsl": {
"h": 65.893,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.75819,
"c": 0.13617,
"h": 114.4
},
"luminance": 0.44726
}Semantic roles & 50–950 ramp
primary
#AFBA4A
secondary
#9C97C9
accent
#53D560
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C