#AFC037#AFC037
#AFC037 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.157 H 116.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC037 |
|---|---|
| RGB | rgb(175, 192, 55) |
| HSL | hsl(67, 55%, 48%) |
| HSV | hsv(67, 71%, 75%) |
| CMYK | cmyk(8.9%, 0%, 71.4%, 24.7%) |
| CIE-LAB | lab(74.25, -23.19, 63.18) |
| CIE-LCH | lch(74.25, 67.31, 110.16°) |
| OKLab | oklab(77% -0.0698 0.1405) |
| OKLCH | oklch(77% 0.157 116.4) |
| XYZ | xyz(37.2193, 47.0896, 10.7422) |
| Luminance | 0.4709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.34
Snot
#ACBB0D
ΔE00 2.77
Gross Green
#A0BF16
ΔE00 3.12
Sick Green
#9DB92C
ΔE00 3.35
Bile
#B5C306
ΔE00 3.36
Baby Puke Green
#B6C406
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC037 #4837C0
analogous
#C08C37 #AFC037 #6AC037
triadic
#AFC037 #37AFC0 #C037AF
tetradic
#AFC037 #37C08C #4837C0 #C0376A
square
#AFC037 #37C08C #4837C0 #C0376A
split-complementary
#AFC037 #376AC0 #8C37C0
monochromatic
#58611C #849029 #AFC037 #C4D262 #D6E092
Accessibility & contrast
On white
2.02
#AFC037 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#AFC037 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC037
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC037 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC037 | 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)
#CDB61E
Deuteranopia (green-blind)
#CCB742
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc037; /* rgb */ color: rgb(175, 192, 55); /* oklch */ color: oklch(77.0% 0.157 116.4);
Tailwind
colors: {
custom: {
50: '#cad277',
500: '#afc037',
950: '#000000',
},
}SCSS
$custom: #afc037; $custom-light: #cad277; $custom-dark: #000000;
JSON
{
"hex": "#afc037",
"rgb": {
"r": 175,
"g": 192,
"b": 55
},
"hsl": {
"h": 67.445,
"s": 55.466,
"l": 48.431
},
"oklch": {
"l": 0.77004,
"c": 0.15689,
"h": 116.4
},
"luminance": 0.47089
}Semantic roles & 50–950 ramp
primary
#AFC037
secondary
#9088CB
accent
#49DF5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B