#AFC22F#AFC22F
#AFC22F is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.4% C 0.164 H 117.0°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC22F |
|---|---|
| RGB | rgb(175, 194, 47) |
| HSL | hsl(68, 61%, 47%) |
| HSV | hsv(68, 76%, 76%) |
| CMYK | cmyk(9.8%, 0%, 75.8%, 23.9%) |
| CIE-LAB | lab(74.76, -24.55, 66.37) |
| CIE-LCH | lch(74.76, 70.77, 110.30°) |
| OKLab | oklab(77.41% -0.0742 0.1459) |
| OKLCH | oklch(77.41% 0.164 117) |
| XYZ | xyz(37.4850, 47.9032, 9.9603) |
| Luminance | 0.4790 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.99
Snot
#ACBB0D
ΔE00 2.55
Bile
#B5C306
ΔE00 2.72
Gross Green
#A0BF16
ΔE00 2.73
Baby Puke Green
#B6C406
ΔE00 2.83
Snot Green
#9DC100
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC22F #422FC2
analogous
#C28C2F #AFC22F #66C22F
triadic
#AFC22F #2FAFC2 #C22FAF
tetradic
#AFC22F #2FC28C #422FC2 #C22F66
square
#AFC22F #2FC28C #422FC2 #C22F66
split-complementary
#AFC22F #2F66C2 #8C2FC2
monochromatic
#565F17 #839123 #AFC22F #C6D658 #D7E289
Accessibility & contrast
On white
1.98
#AFC22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.58
#AFC22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC22F
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC22F | 1.00 | 1.98 | 10.58 | 10.58 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB708
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#BAB7A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc22f; /* rgb */ color: rgb(175, 194, 47); /* oklch */ color: oklch(77.4% 0.164 117.0);
Tailwind
colors: {
custom: {
50: '#cbd473',
500: '#afc22f',
950: '#000000',
},
}SCSS
$custom: #afc22f; $custom-light: #cbd473; $custom-dark: #000000;
JSON
{
"hex": "#afc22f",
"rgb": {
"r": 175,
"g": 194,
"b": 47
},
"hsl": {
"h": 67.755,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.77405,
"c": 0.1637,
"h": 117
},
"luminance": 0.47903
}Semantic roles & 50–950 ramp
primary
#AFC22F
secondary
#8A81CC
accent
#44E458
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B