#AFC442#AFC442
#AFC442 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.0% C 0.154 H 118.0°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC442 |
|---|---|
| RGB | rgb(175, 196, 66) |
| HSL | hsl(70, 52%, 51%) |
| HSV | hsv(70, 66%, 77%) |
| CMYK | cmyk(10.7%, 0%, 66.3%, 23.1%) |
| CIE-LAB | lab(75.44, -24.51, 60.24) |
| CIE-LCH | lch(75.44, 65.03, 112.14°) |
| OKLab | oklab(77.99% -0.0724 0.1361) |
| OKLCH | oklch(77.99% 0.154 118) |
| XYZ | xyz(38.4033, 48.9875, 12.5856) |
| Luminance | 0.4899 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.85
Gross Green
#A0BF16
ΔE00 3.47
Sick Green
#9DB92C
ΔE00 3.66
Snot Green
#9DC100
ΔE00 4.15
Snot
#ACBB0D
ΔE00 4.28
Bright Olive
#9CBB04
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC442 #5742C4
analogous
#C49842 #AFC442 #6EC442
triadic
#AFC442 #42AFC4 #C442AF
tetradic
#AFC442 #42C498 #5742C4 #C4426E
square
#AFC442 #42C498 #5742C4 #C4426E
split-complementary
#AFC442 #426EC4 #9842C4
monochromatic
#5F6A21 #889930 #AFC442 #C3D371 #D6E19F
Accessibility & contrast
On white
1.94
#AFC442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.80
#AFC442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC442
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC442 | 1.00 | 1.94 | 10.80 | 10.80 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#CEBA4C
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc442; /* rgb */ color: rgb(175, 196, 66); /* oklch */ color: oklch(78.0% 0.154 118.0);
Tailwind
colors: {
custom: {
50: '#cad57d',
500: '#afc442',
950: '#000000',
},
}SCSS
$custom: #afc442; $custom-light: #cad57d; $custom-dark: #000000;
JSON
{
"hex": "#afc442",
"rgb": {
"r": 175,
"g": 196,
"b": 66
},
"hsl": {
"h": 69.692,
"s": 52.419,
"l": 51.373
},
"oklch": {
"l": 0.77989,
"c": 0.15413,
"h": 118
},
"luminance": 0.48987
}Semantic roles & 50–950 ramp
primary
#AFC442
secondary
#9E94CE
accent
#4CDC63
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C