#AFC438#AFC438
#AFC438 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 77.9% C 0.161 H 117.8°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC438 |
|---|---|
| RGB | rgb(175, 196, 56) |
| HSL | hsl(69, 56%, 49%) |
| HSV | hsv(69, 71%, 77%) |
| CMYK | cmyk(10.7%, 0%, 71.4%, 23.1%) |
| CIE-LAB | lab(75.38, -25.09, 63.93) |
| CIE-LCH | lch(75.38, 68.68, 111.43°) |
| OKLab | oklab(77.91% -0.0749 0.1423) |
| OKLCH | oklch(77.91% 0.161 117.8) |
| XYZ | xyz(38.1338, 48.8797, 11.1665) |
| Luminance | 0.4888 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.24
Gross Green
#A0BF16
ΔE00 2.91
Snot
#ACBB0D
ΔE00 3.51
Bile
#B5C306
ΔE00 3.55
Snot Green
#9DC100
ΔE00 3.56
Baby Puke Green
#B6C406
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC438 #4D38C4
analogous
#C49338 #AFC438 #69C438
triadic
#AFC438 #38AFC4 #C438AF
tetradic
#AFC438 #38C493 #4D38C4 #C43869
square
#AFC438 #38C493 #4D38C4 #C43869
split-complementary
#AFC438 #3869C4 #9338C4
monochromatic
#5A651D #85942A #AFC438 #C3D366 #D6E196
Accessibility & contrast
On white
1.95
#AFC438 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.78
#AFC438 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC438
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC438 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC438 | 1.00 | 1.95 | 10.78 | 10.78 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B91F
Deuteranopia (green-blind)
#CFBA43
Tritanopia (blue-blind)
#BAB9A9
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc438; /* rgb */ color: rgb(175, 196, 56); /* oklch */ color: oklch(77.9% 0.161 117.8);
Tailwind
colors: {
custom: {
50: '#cad578',
500: '#afc438',
950: '#000000',
},
}SCSS
$custom: #afc438; $custom-light: #cad578; $custom-dark: #000000;
JSON
{
"hex": "#afc438",
"rgb": {
"r": 175,
"g": 196,
"b": 56
},
"hsl": {
"h": 69,
"s": 55.556,
"l": 49.412
},
"oklch": {
"l": 0.77914,
"c": 0.1608,
"h": 117.8
},
"luminance": 0.48879
}Semantic roles & 50–950 ramp
primary
#AFC438
secondary
#958CCC
accent
#49DF5F
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B