#AFBA3F#AFBA3F
#AFBA3F 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 | #AFBA3F |
|---|---|
| RGB | rgb(175, 186, 63) |
| HSL | hsl(65, 49%, 49%) |
| HSV | hsv(65, 66%, 73%) |
| CMYK | cmyk(5.9%, 0%, 66.1%, 27.1%) |
| CIE-LAB | lab(72.62, -19.77, 58.52) |
| CIE-LCH | lch(72.62, 61.77, 108.67°) |
| OKLab | oklab(75.72% -0.0595 0.132) |
| OKLCH | oklch(75.72% 0.145 114.2) |
| XYZ | xyz(36.1362, 44.5913, 11.4050) |
| Luminance | 0.4459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.43
Mustard Green
#A8B504
ΔE00 3.69
Sick Green
#9DB92C
ΔE00 3.80
Pea
#A4BF20
ΔE00 3.85
Booger
#9BB53C
ΔE00 4.13
Gross Green
#A0BF16
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA3F #4A3FBA
analogous
#BA883F #AFBA3F #72BA3F
triadic
#AFBA3F #3FAFBA #BA3FAF
tetradic
#AFBA3F #3FBA88 #4A3FBA #BA3F72
square
#AFBA3F #3FBA88 #4A3FBA #BA3F72
split-complementary
#AFBA3F #3F72BA #883FBA
monochromatic
#595F20 #848C30 #AFBA3F #C4CC6A #D6DC97
Accessibility & contrast
On white
2.12
#AFBA3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#AFBA3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA3F
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA3F | 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)
#C7B12E
Deuteranopia (green-blind)
#C7B348
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba3f; /* rgb */ color: rgb(175, 186, 63); /* oklch */ color: oklch(75.7% 0.145 114.2);
Tailwind
colors: {
custom: {
50: '#cace7b',
500: '#afba3f',
950: '#000000',
},
}SCSS
$custom: #afba3f; $custom-light: #cace7b; $custom-dark: #000000;
JSON
{
"hex": "#afba3f",
"rgb": {
"r": 175,
"g": 186,
"b": 63
},
"hsl": {
"h": 65.366,
"s": 49.398,
"l": 48.824
},
"oklch": {
"l": 0.75718,
"c": 0.14477,
"h": 114.2
},
"luminance": 0.44591
}Semantic roles & 50–950 ramp
primary
#AFBA3F
secondary
#928DC8
accent
#4FD95B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C