#AFC74C#AFC74C
#AFC74C is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.8% C 0.150 H 119.3°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC74C |
|---|---|
| RGB | rgb(175, 199, 76) |
| HSL | hsl(72, 52%, 54%) |
| HSV | hsv(72, 62%, 78%) |
| CMYK | cmyk(12.1%, 0%, 61.8%, 22%) |
| CIE-LAB | lab(76.36, -25.29, 57.11) |
| CIE-LCH | lch(76.36, 62.45, 113.88°) |
| OKLab | oklab(78.76% -0.0736 0.1309) |
| OKLCH | oklch(78.76% 0.15 119.3) |
| XYZ | xyz(39.4077, 50.4828, 14.5042) |
| Luminance | 0.5048 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 3.90
Light Olive Green
#A4BE5C
ΔE00 4.20
Gross Green
#A0BF16
ΔE00 4.37
Sick Green
#9DB92C
ΔE00 4.39
Yellowgreen
#9ACD32
ΔE00 4.84
Snot Green
#9DC100
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC74C #644CC7
analogous
#C7A24C #AFC74C #72C74C
triadic
#AFC74C #4CAFC7 #C74CAF
tetradic
#AFC74C #4CC7A2 #644CC7 #C74C72
square
#AFC74C #4CC7A2 #644CC7 #C74C72
split-complementary
#AFC74C #4C72C7 #A24CC7
monochromatic
#657424 #8DA333 #AFC74C #C4D67B #D9E4A9
Accessibility & contrast
On white
1.89
#AFC74C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.10
#AFC74C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC74C
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC74C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC74C | 1.00 | 1.89 | 11.10 | 11.10 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BC3D
Deuteranopia (green-blind)
#D0BD54
Tritanopia (blue-blind)
#B8BDAD
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #afc74c; /* rgb */ color: rgb(175, 199, 76); /* oklch */ color: oklch(78.8% 0.150 119.3);
Tailwind
colors: {
custom: {
50: '#cad883',
500: '#afc74c',
950: '#000000',
},
}SCSS
$custom: #afc74c; $custom-light: #cad883; $custom-dark: #000000;
JSON
{
"hex": "#afc74c",
"rgb": {
"r": 175,
"g": 199,
"b": 76
},
"hsl": {
"h": 71.707,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.78755,
"c": 0.15014,
"h": 119.3
},
"luminance": 0.50483
}Semantic roles & 50–950 ramp
primary
#AFC74C
secondary
#473A7D
accent
#4CDC68
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E