#AFC02C#AFC02C
#AFC02C is a light, vivid yellow. Relative luminance 0.470; OKLCH L 76.9% C 0.163 H 116.2°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC02C |
|---|---|
| RGB | rgb(175, 192, 44) |
| HSL | hsl(67, 63%, 46%) |
| HSV | hsv(67, 77%, 75%) |
| CMYK | cmyk(8.9%, 0%, 77.1%, 24.7%) |
| CIE-LAB | lab(74.19, -23.71, 66.77) |
| CIE-LCH | lch(74.19, 70.86, 109.55°) |
| OKLab | oklab(76.94% -0.0721 0.1462) |
| OKLCH | oklch(76.94% 0.163 116.2) |
| XYZ | xyz(36.9845, 46.9956, 9.5051) |
| Luminance | 0.4699 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.99
Pea
#A4BF20
ΔE00 2.13
Bile
#B5C306
ΔE00 2.50
Baby Puke Green
#B6C406
ΔE00 2.65
Gross Green
#A0BF16
ΔE00 2.89
Mustard Green
#A8B504
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC02C #3D2CC0
analogous
#C0872C #AFC02C #65C02C
triadic
#AFC02C #2CAFC0 #C02CAF
tetradic
#AFC02C #2CC087 #3D2CC0 #C02C65
square
#AFC02C #2CC087 #3D2CC0 #C02C65
split-complementary
#AFC02C #2C65C0 #872CC0
monochromatic
#545C15 #828E21 #AFC02C #C8D752 #D8E384
Accessibility & contrast
On white
2.02
#AFC02C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#AFC02C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC02C
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC02C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC02C | 1.00 | 2.02 | 10.40 | 10.40 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afc02c; /* rgb */ color: rgb(175, 192, 44); /* oklch */ color: oklch(76.9% 0.163 116.2);
Tailwind
colors: {
custom: {
50: '#cbd272',
500: '#afc02c',
950: '#000000',
},
}SCSS
$custom: #afc02c; $custom-light: #cbd272; $custom-dark: #000000;
JSON
{
"hex": "#afc02c",
"rgb": {
"r": 175,
"g": 192,
"b": 44
},
"hsl": {
"h": 66.892,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.76937,
"c": 0.16305,
"h": 116.2
},
"luminance": 0.46995
}Semantic roles & 50–950 ramp
primary
#AFC02C
secondary
#857CCC
accent
#42E655
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B