#AFBA3E#AFBA3E
#AFBA3E is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.7% C 0.145 H 114.2°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA3E |
|---|---|
| RGB | rgb(175, 186, 62) |
| HSL | hsl(65, 50%, 49%) |
| HSV | hsv(65, 67%, 73%) |
| CMYK | cmyk(5.9%, 0%, 66.7%, 27.1%) |
| CIE-LAB | lab(72.61, -19.83, 58.91) |
| CIE-LCH | lch(72.61, 62.16, 108.61°) |
| OKLab | oklab(75.71% -0.0597 0.1327) |
| OKLCH | oklch(75.71% 0.146 114.2) |
| XYZ | xyz(36.1085, 44.5802, 11.2592) |
| Luminance | 0.4458 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.33
Mustard Green
#A8B504
ΔE00 3.59
Sick Green
#9DB92C
ΔE00 3.78
Pea
#A4BF20
ΔE00 3.79
Booger
#9BB53C
ΔE00 4.16
Gross Green
#A0BF16
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA3E #493EBA
analogous
#BA873E #AFBA3E #71BA3E
triadic
#AFBA3E #3EAFBA #BA3EAF
tetradic
#AFBA3E #3EBA87 #493EBA #BA3E71
square
#AFBA3E #3EBA87 #493EBA #BA3E71
split-complementary
#AFBA3E #3E71BA #873EBA
monochromatic
#595E1F #848C2F #AFBA3E #C4CD68 #D6DC96
Accessibility & contrast
On white
2.12
#AFBA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#AFBA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA3E
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA3E | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B12C
Deuteranopia (green-blind)
#C7B347
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba3e; /* rgb */ color: rgb(175, 186, 62); /* oklch */ color: oklch(75.7% 0.145 114.2);
Tailwind
colors: {
custom: {
50: '#cace7a',
500: '#afba3e',
950: '#000000',
},
}SCSS
$custom: #afba3e; $custom-light: #cace7a; $custom-dark: #000000;
JSON
{
"hex": "#afba3e",
"rgb": {
"r": 175,
"g": 186,
"b": 62
},
"hsl": {
"h": 65.323,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.7571,
"c": 0.1455,
"h": 114.2
},
"luminance": 0.4458
}Semantic roles & 50–950 ramp
primary
#AFBA3E
secondary
#918CC8
accent
#4EDA5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C