#AFBA3C#AFBA3C
#AFBA3C is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.7% C 0.147 H 114.2°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA3C |
|---|---|
| RGB | rgb(175, 186, 60) |
| HSL | hsl(65, 51%, 48%) |
| HSV | hsv(65, 68%, 73%) |
| CMYK | cmyk(5.9%, 0%, 67.7%, 27.1%) |
| CIE-LAB | lab(72.60, -19.95, 59.68) |
| CIE-LCH | lch(72.60, 62.93, 108.49°) |
| OKLab | oklab(75.69% -0.0603 0.134) |
| OKLCH | oklch(75.69% 0.147 114.2) |
| XYZ | xyz(36.0547, 44.5587, 10.9755) |
| Luminance | 0.4456 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.12
Mustard Green
#A8B504
ΔE00 3.40
Pea
#A4BF20
ΔE00 3.69
Sick Green
#9DB92C
ΔE00 3.76
Booger
#9BB53C
ΔE00 4.23
Bile
#B5C306
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA3C #473CBA
analogous
#BA863C #AFBA3C #70BA3C
triadic
#AFBA3C #3CAFBA #BA3CAF
tetradic
#AFBA3C #3CBA86 #473CBA #BA3C70
square
#AFBA3C #3CBA86 #473CBA #BA3C70
split-complementary
#AFBA3C #3C70BA #863CBA
monochromatic
#585D1E #838C2D #AFBA3C #C4CE66 #D6DC94
Accessibility & contrast
On white
2.12
#AFBA3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#AFBA3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA3C
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA3C | 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)
#C7B129
Deuteranopia (green-blind)
#C7B345
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba3c; /* rgb */ color: rgb(175, 186, 60); /* oklch */ color: oklch(75.7% 0.147 114.2);
Tailwind
colors: {
custom: {
50: '#cace79',
500: '#afba3c',
950: '#000000',
},
}SCSS
$custom: #afba3c; $custom-light: #cace79; $custom-dark: #000000;
JSON
{
"hex": "#afba3c",
"rgb": {
"r": 175,
"g": 186,
"b": 60
},
"hsl": {
"h": 65.238,
"s": 51.22,
"l": 48.235
},
"oklch": {
"l": 0.75694,
"c": 0.14691,
"h": 114.2
},
"luminance": 0.44558
}Semantic roles & 50–950 ramp
primary
#AFBA3C
secondary
#8F8AC8
accent
#4DDB59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B