#AFC031#AFC031
#AFC031 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.160 H 116.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC031 |
|---|---|
| RGB | rgb(175, 192, 49) |
| HSL | hsl(67, 59%, 47%) |
| HSV | hsv(67, 74%, 75%) |
| CMYK | cmyk(8.9%, 0%, 74.5%, 24.7%) |
| CIE-LAB | lab(74.21, -23.49, 65.21) |
| CIE-LCH | lch(74.21, 69.31, 109.81°) |
| OKLab | oklab(76.96% -0.0711 0.1438) |
| OKLCH | oklch(76.96% 0.16 116.3) |
| XYZ | xyz(37.0842, 47.0355, 10.0303) |
| Luminance | 0.4703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.17
Snot
#ACBB0D
ΔE00 2.31
Bile
#B5C306
ΔE00 2.86
Gross Green
#A0BF16
ΔE00 2.95
Baby Puke Green
#B6C406
ΔE00 3.01
Sick Green
#9DB92C
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC031 #4231C0
analogous
#C08A31 #AFC031 #67C031
triadic
#AFC031 #31AFC0 #C031AF
tetradic
#AFC031 #31C08A #4231C0 #C03167
square
#AFC031 #31C08A #4231C0 #C03167
split-complementary
#AFC031 #3167C0 #8A31C0
monochromatic
#565E18 #838F25 #AFC031 #C6D559 #D7E18A
Accessibility & contrast
On white
2.02
#AFC031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#AFC031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC031
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC031 | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB610
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afc031; /* rgb */ color: rgb(175, 192, 49); /* oklch */ color: oklch(77.0% 0.160 116.3);
Tailwind
colors: {
custom: {
50: '#cad274',
500: '#afc031',
950: '#000000',
},
}SCSS
$custom: #afc031; $custom-light: #cad274; $custom-dark: #000000;
JSON
{
"hex": "#afc031",
"rgb": {
"r": 175,
"g": 192,
"b": 49
},
"hsl": {
"h": 67.133,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.76965,
"c": 0.16041,
"h": 116.3
},
"luminance": 0.47035
}Semantic roles & 50–950 ramp
primary
#AFC031
secondary
#8A82CB
accent
#45E358
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B