#AFC038#AFC038
#AFC038 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.156 H 116.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC038 |
|---|---|
| RGB | rgb(175, 192, 56) |
| HSL | hsl(68, 55%, 49%) |
| HSV | hsv(68, 71%, 75%) |
| CMYK | cmyk(8.9%, 0%, 70.8%, 24.7%) |
| CIE-LAB | lab(74.25, -23.14, 62.83) |
| CIE-LCH | lch(74.25, 66.96, 110.22°) |
| OKLab | oklab(77.01% -0.0695 0.14) |
| OKLCH | oklch(77.01% 0.156 116.4) |
| XYZ | xyz(37.2436, 47.0993, 10.8697) |
| Luminance | 0.4710 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.38
Snot
#ACBB0D
ΔE00 2.86
Gross Green
#A0BF16
ΔE00 3.16
Sick Green
#9DB92C
ΔE00 3.34
Bile
#B5C306
ΔE00 3.45
Baby Puke Green
#B6C406
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC038 #4938C0
analogous
#C08D38 #AFC038 #6BC038
triadic
#AFC038 #38AFC0 #C038AF
tetradic
#AFC038 #38C08D #4938C0 #C0386B
square
#AFC038 #38C08D #4938C0 #C0386B
split-complementary
#AFC038 #386BC0 #8D38C0
monochromatic
#59611C #84912A #AFC038 #C4D264 #D6DF93
Accessibility & contrast
On white
2.02
#AFC038 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#AFC038 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC038
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC038 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC038 | 1.00 | 2.02 | 10.42 | 10.42 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CCB843
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc038; /* rgb */ color: rgb(175, 192, 56); /* oklch */ color: oklch(77.0% 0.156 116.4);
Tailwind
colors: {
custom: {
50: '#cad277',
500: '#afc038',
950: '#000000',
},
}SCSS
$custom: #afc038; $custom-light: #cad277; $custom-dark: #000000;
JSON
{
"hex": "#afc038",
"rgb": {
"r": 175,
"g": 192,
"b": 56
},
"hsl": {
"h": 67.5,
"s": 54.839,
"l": 48.627
},
"oklch": {
"l": 0.77011,
"c": 0.15627,
"h": 116.4
},
"luminance": 0.47099
}Semantic roles & 50–950 ramp
primary
#AFC038
secondary
#9189CB
accent
#4ADE5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B