#AFC462#AFC462
#AFC462 is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 78.3% C 0.126 H 119.4°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC462 |
|---|---|
| RGB | rgb(175, 196, 98) |
| HSL | hsl(73, 45%, 58%) |
| HSV | hsv(73, 50%, 77%) |
| CMYK | cmyk(10.7%, 0%, 50%, 23.1%) |
| CIE-LAB | lab(75.75, -21.94, 46.39) |
| CIE-LCH | lch(75.75, 51.32, 115.31°) |
| OKLab | oklab(78.33% -0.0621 0.1102) |
| OKLCH | oklch(78.33% 0.126 119.4) |
| XYZ | xyz(39.6241, 49.4758, 19.0153) |
| Luminance | 0.4948 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Olive
#ACBF69
ΔE00 2.12
Light Olive Green
#A4BE5C
ΔE00 2.16
Tan Green
#A9BE70
ΔE00 3.60
Greenish Tan
#BCCB7A
ΔE00 3.63
Light Moss Green
#A6C875
ΔE00 4.44
Pale Olive
#B9CC81
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC462 #7762C4
analogous
#C4A862 #AFC462 #7EC462
triadic
#AFC462 #62AFC4 #C462AF
tetradic
#AFC462 #62C4A8 #7762C4 #C4627E
square
#AFC462 #62C4A8 #7762C4 #C4627E
split-complementary
#AFC462 #627EC4 #A862C4
monochromatic
#6C7D2F #93A940 #AFC462 #C6D58E #DCE5BB
Accessibility & contrast
On white
1.93
#AFC462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.90
#AFC462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC462
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC462 | 1.00 | 1.93 | 10.90 | 10.90 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#CCBB67
Tritanopia (blue-blind)
#B7BBAE
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #afc462; /* rgb */ color: rgb(175, 196, 98); /* oklch */ color: oklch(78.3% 0.126 119.4);
Tailwind
colors: {
custom: {
50: '#c9d591',
500: '#afc462',
950: '#000000',
},
}SCSS
$custom: #afc462; $custom-light: #c9d591; $custom-dark: #000000;
JSON
{
"hex": "#afc462",
"rgb": {
"r": 175,
"g": 196,
"b": 98
},
"hsl": {
"h": 72.857,
"s": 45.37,
"l": 57.647
},
"oklch": {
"l": 0.7833,
"c": 0.12645,
"h": 119.4
},
"luminance": 0.49476
}Semantic roles & 50–950 ramp
primary
#AFC462
secondary
#B6ADD5
accent
#53D56F
background
#FCFDF9
surface
#F8FAF1
border
#D1D3CB
text
#13140D
muted
#82837E