#AFC03F#AFC03F
#AFC03F is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.152 H 116.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC03F |
|---|---|
| RGB | rgb(175, 192, 63) |
| HSL | hsl(68, 51%, 50%) |
| HSV | hsv(68, 67%, 75%) |
| CMYK | cmyk(8.9%, 0%, 67.2%, 24.7%) |
| CIE-LAB | lab(74.30, -22.74, 60.24) |
| CIE-LCH | lch(74.30, 64.39, 110.68°) |
| OKLab | oklab(77.06% -0.0678 0.1356) |
| OKLCH | oklch(77.06% 0.152 116.5) |
| XYZ | xyz(37.4269, 47.1726, 11.8353) |
| Luminance | 0.4717 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.78
Sick Green
#9DB92C
ΔE00 3.35
Snot
#ACBB0D
ΔE00 3.50
Gross Green
#A0BF16
ΔE00 3.52
Bile
#B5C306
ΔE00 4.12
Bright Olive
#9CBB04
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC03F #503FC0
analogous
#C0903F #AFC03F #6FC03F
triadic
#AFC03F #3FAFC0 #C03FAF
tetradic
#AFC03F #3FC090 #503FC0 #C03F6F
square
#AFC03F #3FC090 #503FC0 #C03F6F
split-complementary
#AFC03F #3F6FC0 #903FC0
monochromatic
#5B6421 #859230 #AFC03F #C2CF6D #D5DE9B
Accessibility & contrast
On white
2.01
#AFC03F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.43
#AFC03F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC03F
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC03F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC03F | 1.00 | 2.01 | 10.43 | 10.43 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB62C
Deuteranopia (green-blind)
#CBB849
Tritanopia (blue-blind)
#BAB5A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc03f; /* rgb */ color: rgb(175, 192, 63); /* oklch */ color: oklch(77.1% 0.152 116.5);
Tailwind
colors: {
custom: {
50: '#cad27b',
500: '#afc03f',
950: '#000000',
},
}SCSS
$custom: #afc03f; $custom-light: #cad27b; $custom-dark: #000000;
JSON
{
"hex": "#afc03f",
"rgb": {
"r": 175,
"g": 192,
"b": 63
},
"hsl": {
"h": 67.907,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.77064,
"c": 0.15161,
"h": 116.5
},
"luminance": 0.47172
}Semantic roles & 50–950 ramp
primary
#AFC03F
secondary
#9891CA
accent
#4EDA60
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C