#AFBA3B#AFBA3B
#AFBA3B is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.7% C 0.148 H 114.2°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA3B |
|---|---|
| RGB | rgb(175, 186, 59) |
| HSL | hsl(65, 52%, 48%) |
| HSV | hsv(65, 68%, 73%) |
| CMYK | cmyk(5.9%, 0%, 68.3%, 27.1%) |
| CIE-LAB | lab(72.59, -20.01, 60.06) |
| CIE-LCH | lch(72.59, 63.31, 108.43°) |
| OKLab | oklab(75.69% -0.0605 0.1346) |
| OKLCH | oklch(75.69% 0.148 114.2) |
| XYZ | xyz(36.0285, 44.5482, 10.8376) |
| Luminance | 0.4455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.02
Mustard Green
#A8B504
ΔE00 3.31
Pea
#A4BF20
ΔE00 3.65
Sick Green
#9DB92C
ΔE00 3.76
Booger
#9BB53C
ΔE00 4.27
Bile
#B5C306
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA3B #463BBA
analogous
#BA853B #AFBA3B #6FBA3B
triadic
#AFBA3B #3BAFBA #BA3BAF
tetradic
#AFBA3B #3BBA85 #463BBA #BA3B6F
square
#AFBA3B #3BBA85 #463BBA #BA3B6F
split-complementary
#AFBA3B #3B6FBA #853BBA
monochromatic
#585D1E #838C2C #AFBA3B #C5CE64 #D6DD93
Accessibility & contrast
On white
2.12
#AFBA3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#AFBA3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA3B
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA3B | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B127
Deuteranopia (green-blind)
#C7B344
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba3b; /* rgb */ color: rgb(175, 186, 59); /* oklch */ color: oklch(75.7% 0.148 114.2);
Tailwind
colors: {
custom: {
50: '#cace78',
500: '#afba3b',
950: '#000000',
},
}SCSS
$custom: #afba3b; $custom-light: #cace78; $custom-dark: #000000;
JSON
{
"hex": "#afba3b",
"rgb": {
"r": 175,
"g": 186,
"b": 59
},
"hsl": {
"h": 65.197,
"s": 51.837,
"l": 48.039
},
"oklch": {
"l": 0.75686,
"c": 0.14759,
"h": 114.2
},
"luminance": 0.44548
}Semantic roles & 50–950 ramp
primary
#AFBA3B
secondary
#8E89C8
accent
#4DDB59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B