#AFC02F#AFC02F
#AFC02F is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.162 H 116.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC02F |
|---|---|
| RGB | rgb(175, 192, 47) |
| HSL | hsl(67, 61%, 47%) |
| HSV | hsv(67, 76%, 75%) |
| CMYK | cmyk(8.9%, 0%, 75.5%, 24.7%) |
| CIE-LAB | lab(74.20, -23.58, 65.85) |
| CIE-LCH | lch(74.20, 69.94, 109.70°) |
| OKLab | oklab(76.95% -0.0715 0.1448) |
| OKLCH | oklch(76.95% 0.162 116.3) |
| XYZ | xyz(37.0429, 47.0190, 9.8130) |
| Luminance | 0.4702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.14
Snot
#ACBB0D
ΔE00 2.18
Bile
#B5C306
ΔE00 2.71
Baby Puke Green
#B6C406
ΔE00 2.86
Gross Green
#A0BF16
ΔE00 2.92
Mustard Green
#A8B504
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC02F #402FC0
analogous
#C0882F #AFC02F #67C02F
triadic
#AFC02F #2FAFC0 #C02FAF
tetradic
#AFC02F #2FC088 #402FC0 #C02F67
square
#AFC02F #2FC088 #402FC0 #C02F67
split-complementary
#AFC02F #2F67C0 #882FC0
monochromatic
#555E17 #828F23 #AFC02F #C7D656 #D7E288
Accessibility & contrast
On white
2.02
#AFC02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#AFC02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC02F
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC02F | 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)
#CEB609
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afc02f; /* rgb */ color: rgb(175, 192, 47); /* oklch */ color: oklch(77.0% 0.162 116.3);
Tailwind
colors: {
custom: {
50: '#cbd273',
500: '#afc02f',
950: '#000000',
},
}SCSS
$custom: #afc02f; $custom-light: #cbd273; $custom-dark: #000000;
JSON
{
"hex": "#afc02f",
"rgb": {
"r": 175,
"g": 192,
"b": 47
},
"hsl": {
"h": 67.034,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.76954,
"c": 0.1615,
"h": 116.3
},
"luminance": 0.47018
}Semantic roles & 50–950 ramp
primary
#AFC02F
secondary
#887FCB
accent
#44E457
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B