#AFCA2B#AFCA2B
#AFCA2B is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.2% C 0.175 H 119.4°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AFCA2B |
|---|---|
| RGB | rgb(175, 202, 43) |
| HSL | hsl(70, 65%, 48%) |
| HSV | hsv(70, 79%, 79%) |
| CMYK | cmyk(13.4%, 0%, 78.7%, 20.8%) |
| CIE-LAB | lab(77.00, -28.56, 69.62) |
| CIE-LCH | lch(77.00, 75.25, 112.31°) |
| OKLab | oklab(79.2% -0.0855 0.1521) |
| OKLCH | oklch(79.2% 0.175 119.4) |
| XYZ | xyz(39.2366, 51.5297, 10.1642) |
| Luminance | 0.5153 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.30
Pea
#A4BF20
ΔE00 2.88
Gross Green
#A0BF16
ΔE00 3.17
Snot Green
#9DC100
ΔE00 3.26
Baby Puke Green
#B6C406
ΔE00 3.54
Bile
#B5C306
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFCA2B #462BCA
analogous
#CA962B #AFCA2B #5FCA2B
triadic
#AFCA2B #2BAFCA #CA2BAF
tetradic
#AFCA2B #2BCA96 #462BCA #CA2B5F
square
#AFCA2B #2BCA96 #462BCA #CA2B5F
split-complementary
#AFCA2B #2B5FCA #962BCA
monochromatic
#586516 #839820 #AFCA2B #C5DB57 #D6E689
Accessibility & contrast
On white
1.86
#AFCA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.31
#AFCA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFCA2B
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFCA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFCA2B | 1.00 | 1.86 | 11.31 | 11.31 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D4BF3B
Tritanopia (blue-blind)
#BABFAD
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #afca2b; /* rgb */ color: rgb(175, 202, 43); /* oklch */ color: oklch(79.2% 0.175 119.4);
Tailwind
colors: {
custom: {
50: '#cbda73',
500: '#afca2b',
950: '#000000',
},
}SCSS
$custom: #afca2b; $custom-light: #cbda73; $custom-dark: #000000;
JSON
{
"hex": "#afca2b",
"rgb": {
"r": 175,
"g": 202,
"b": 43
},
"hsl": {
"h": 70.189,
"s": 64.898,
"l": 48.039
},
"oklch": {
"l": 0.79198,
"c": 0.17451,
"h": 119.4
},
"luminance": 0.51529
}Semantic roles & 50–950 ramp
primary
#AFCA2B
secondary
#362A6F
accent
#40E85C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D