#AFBA3A#AFBA3A
#AFBA3A 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 | #AFBA3A |
|---|---|
| RGB | rgb(175, 186, 58) |
| HSL | hsl(65, 52%, 48%) |
| HSV | hsv(65, 69%, 73%) |
| CMYK | cmyk(5.9%, 0%, 68.8%, 27.1%) |
| CIE-LAB | lab(72.59, -20.07, 60.44) |
| CIE-LCH | lch(72.59, 63.68, 108.37°) |
| OKLab | oklab(75.68% -0.0608 0.1352) |
| OKLCH | oklch(75.68% 0.148 114.2) |
| XYZ | xyz(36.0028, 44.5379, 10.7023) |
| Luminance | 0.4454 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.92
Mustard Green
#A8B504
ΔE00 3.22
Pea
#A4BF20
ΔE00 3.60
Sick Green
#9DB92C
ΔE00 3.75
Bile
#B5C306
ΔE00 4.21
Booger
#9BB53C
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA3A #453ABA
analogous
#BA853A #AFBA3A #6FBA3A
triadic
#AFBA3A #3AAFBA #BA3AAF
tetradic
#AFBA3A #3ABA85 #453ABA #BA3A6F
square
#AFBA3A #3ABA85 #453ABA #BA3A6F
split-complementary
#AFBA3A #3A6FBA #853ABA
monochromatic
#575D1D #838B2B #AFBA3A #C5CE63 #D6DD92
Accessibility & contrast
On white
2.12
#AFBA3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#AFBA3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA3A
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA3A | 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)
#C7B126
Deuteranopia (green-blind)
#C7B344
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba3a; /* rgb */ color: rgb(175, 186, 58); /* oklch */ color: oklch(75.7% 0.148 114.2);
Tailwind
colors: {
custom: {
50: '#cace78',
500: '#afba3a',
950: '#000000',
},
}SCSS
$custom: #afba3a; $custom-light: #cace78; $custom-dark: #000000;
JSON
{
"hex": "#afba3a",
"rgb": {
"r": 175,
"g": 186,
"b": 58
},
"hsl": {
"h": 65.156,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.75678,
"c": 0.14827,
"h": 114.2
},
"luminance": 0.44537
}Semantic roles & 50–950 ramp
primary
#AFBA3A
secondary
#8D88C8
accent
#4CDC58
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B