#AFD670#AFD670
#AFD670 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.6% C 0.137 H 126.4°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AFD670 |
|---|---|
| RGB | rgb(175, 214, 112) |
| HSL | hsl(83, 55%, 64%) |
| HSV | hsv(83, 48%, 84%) |
| CMYK | cmyk(18.2%, 0%, 47.7%, 16.1%) |
| CIE-LAB | lab(80.95, -29.19, 45.93) |
| CIE-LCH | lch(80.95, 54.43, 122.44°) |
| OKLab | oklab(82.56% -0.0813 0.1102) |
| OKLCH | oklch(82.56% 0.137 126.4) |
| XYZ | xyz(44.6502, 58.3765, 24.2415) |
| Luminance | 0.5838 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Olive Green
#B1D27B
ΔE00 2.37
Light Moss Green
#A6C875
ΔE00 4.21
Pale Olive
#B9CC81
ΔE00 5.30
Greenish Tan
#BCCB7A
ΔE00 5.44
Light Olive Green
#A4BE5C
ΔE00 6.09
Pistachio
#93C572
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFD670 #9770D6
analogous
#D6CA70 #AFD670 #7CD670
triadic
#AFD670 #70AFD6 #D670AF
tetradic
#AFD670 #70D6CA #9770D6 #D6707C
square
#AFD670 #70D6CA #9770D6 #D6707C
split-complementary
#AFD670 #707CD6 #CA70D6
monochromatic
#739E2D #94C840 #AFD670 #CAE4A0 #E4F1CF
Accessibility & contrast
On white
1.66
#AFD670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.68
#AFD670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFD670
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFD670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFD670 | 1.00 | 1.66 | 12.68 | 12.68 |
| #FFFFFF | 1.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCA67
Deuteranopia (green-blind)
#DAC876
Tritanopia (blue-blind)
#B4CEBE
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #afd670; /* rgb */ color: rgb(175, 214, 112); /* oklch */ color: oklch(82.6% 0.137 126.4);
Tailwind
colors: {
custom: {
50: '#c9e29b',
500: '#afd670',
950: '#000000',
},
}SCSS
$custom: #afd670; $custom-light: #c9e29b; $custom-dark: #000000;
JSON
{
"hex": "#afd670",
"rgb": {
"r": 175,
"g": 214,
"b": 112
},
"hsl": {
"h": 82.941,
"s": 55.435,
"l": 63.922
},
"oklch": {
"l": 0.82563,
"c": 0.13694,
"h": 126.4
},
"luminance": 0.58377
}Semantic roles & 50–950 ramp
primary
#AFD670
secondary
#6A48A3
accent
#23C360
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F