#AFC431#AFC431
#AFC431 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 77.9% C 0.165 H 117.6°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC431 |
|---|---|
| RGB | rgb(175, 196, 49) |
| HSL | hsl(69, 60%, 48%) |
| HSV | hsv(69, 75%, 77%) |
| CMYK | cmyk(10.7%, 0%, 75%, 23.1%) |
| CIE-LAB | lab(75.34, -25.43, 66.27) |
| CIE-LCH | lch(75.34, 70.98, 111.00°) |
| OKLab | oklab(77.87% -0.0765 0.146) |
| OKLCH | oklch(77.87% 0.165 117.6) |
| XYZ | xyz(37.9744, 48.8160, 10.3271) |
| Luminance | 0.4882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.04
Gross Green
#A0BF16
ΔE00 2.70
Bile
#B5C306
ΔE00 3.00
Baby Puke Green
#B6C406
ΔE00 3.07
Snot
#ACBB0D
ΔE00 3.09
Snot Green
#9DC100
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC431 #4631C4
analogous
#C48F31 #AFC431 #66C431
triadic
#AFC431 #31AFC4 #C431AF
tetradic
#AFC431 #31C48F #4631C4 #C43166
square
#AFC431 #31C48F #4631C4 #C43166
split-complementary
#AFC431 #3166C4 #8F31C4
monochromatic
#586219 #839325 #AFC431 #C5D65C #D6E28D
Accessibility & contrast
On white
1.95
#AFC431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.76
#AFC431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC431
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC431 | 1.00 | 1.95 | 10.76 | 10.76 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B90D
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#BAB9A8
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc431; /* rgb */ color: rgb(175, 196, 49); /* oklch */ color: oklch(77.9% 0.165 117.6);
Tailwind
colors: {
custom: {
50: '#cbd574',
500: '#afc431',
950: '#000000',
},
}SCSS
$custom: #afc431; $custom-light: #cbd574; $custom-dark: #000000;
JSON
{
"hex": "#afc431",
"rgb": {
"r": 175,
"g": 196,
"b": 49
},
"hsl": {
"h": 68.571,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.77869,
"c": 0.16485,
"h": 117.6
},
"luminance": 0.48816
}Semantic roles & 50–950 ramp
primary
#AFC431
secondary
#8E84CD
accent
#45E35B
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B