#AFC752#AFC752
#AFC752 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.8% C 0.145 H 119.6°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC752 |
|---|---|
| RGB | rgb(175, 199, 82) |
| HSL | hsl(72, 51%, 55%) |
| HSV | hsv(72, 59%, 78%) |
| CMYK | cmyk(12.1%, 0%, 58.8%, 22%) |
| CIE-LAB | lab(76.42, -24.83, 54.57) |
| CIE-LCH | lch(76.42, 59.95, 114.47°) |
| OKLab | oklab(78.82% -0.0717 0.1262) |
| OKLCH | oklch(78.82% 0.145 119.6) |
| XYZ | xyz(39.6261, 50.5702, 15.6545) |
| Luminance | 0.5057 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.63
Pea
#A4BF20
ΔE00 4.52
Light Olive
#ACBF69
ΔE00 4.59
Sick Green
#9DB92C
ΔE00 4.73
Gross Green
#A0BF16
ΔE00 4.97
Booger
#9BB53C
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC752 #6A52C7
analogous
#C7A552 #AFC752 #74C752
triadic
#AFC752 #52AFC7 #C752AF
tetradic
#AFC752 #52C7A5 #6A52C7 #C75274
square
#AFC752 #52C7A5 #6A52C7 #C75274
split-complementary
#AFC752 #5274C7 #A552C7
monochromatic
#677827 #8FA636 #AFC752 #C4D680 #DAE5AE
Accessibility & contrast
On white
1.89
#AFC752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.11
#AFC752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC752
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC752 | 1.00 | 1.89 | 11.11 | 11.11 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#D0BD5A
Tritanopia (blue-blind)
#B8BDAE
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #afc752; /* rgb */ color: rgb(175, 199, 82); /* oklch */ color: oklch(78.8% 0.145 119.6);
Tailwind
colors: {
custom: {
50: '#c9d887',
500: '#afc752',
950: '#000000',
},
}SCSS
$custom: #afc752; $custom-light: #c9d887; $custom-dark: #000000;
JSON
{
"hex": "#afc752",
"rgb": {
"r": 175,
"g": 199,
"b": 82
},
"hsl": {
"h": 72.308,
"s": 51.092,
"l": 55.098
},
"oklch": {
"l": 0.78815,
"c": 0.14517,
"h": 119.6
},
"luminance": 0.5057
}Semantic roles & 50–950 ramp
primary
#AFC752
secondary
#4B3D80
accent
#4DDB6A
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#13140C
muted
#83837F