#AFC856#AFC856
#AFC856 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 79.1% C 0.143 H 120.1°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC856 |
|---|---|
| RGB | rgb(175, 200, 86) |
| HSL | hsl(73, 51%, 56%) |
| HSV | hsv(73, 57%, 78%) |
| CMYK | cmyk(12.5%, 0%, 57%, 21.6%) |
| CIE-LAB | lab(76.74, -24.99, 53.14) |
| CIE-LCH | lch(76.74, 58.72, 115.18°) |
| OKLab | oklab(79.08% -0.0718 0.1236) |
| OKLCH | oklch(79.08% 0.143 120.1) |
| XYZ | xyz(40.0136, 51.0945, 16.5566) |
| Luminance | 0.5109 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.44
Light Olive
#ACBF69
ΔE00 4.33
Pea
#A4BF20
ΔE00 5.03
Yellowgreen
#9ACD32
ΔE00 5.13
Sick Green
#9DB92C
ΔE00 5.15
Greenish Tan
#BCCB7A
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC856 #6F56C8
analogous
#C8A856 #AFC856 #76C856
triadic
#AFC856 #56AFC8 #C856AF
tetradic
#AFC856 #56C8A8 #6F56C8 #C85676
square
#AFC856 #56C8A8 #6F56C8 #C85676
split-complementary
#AFC856 #5676C8 #A856C8
monochromatic
#697B28 #91AA37 #AFC856 #C5D784 #DBE6B2
Accessibility & contrast
On white
1.87
#AFC856 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.22
#AFC856 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC856
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC856 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC856 | 1.00 | 1.87 | 11.22 | 11.22 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE4A
Deuteranopia (green-blind)
#D0BE5D
Tritanopia (blue-blind)
#B8BEAF
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #afc856; /* rgb */ color: rgb(175, 200, 86); /* oklch */ color: oklch(79.1% 0.143 120.1);
Tailwind
colors: {
custom: {
50: '#c9d889',
500: '#afc856',
950: '#000000',
},
}SCSS
$custom: #afc856; $custom-light: #c9d889; $custom-dark: #000000;
JSON
{
"hex": "#afc856",
"rgb": {
"r": 175,
"g": 200,
"b": 86
},
"hsl": {
"h": 73.158,
"s": 50.893,
"l": 56.078
},
"oklch": {
"l": 0.79083,
"c": 0.14295,
"h": 120.1
},
"luminance": 0.51094
}Semantic roles & 50–950 ramp
primary
#AFC856
secondary
#4E3F84
accent
#4DDA6C
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F