#AFC537#AFC537
#AFC537 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.1% C 0.163 H 118.1°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC537 |
|---|---|
| RGB | rgb(175, 197, 55) |
| HSL | hsl(69, 56%, 49%) |
| HSV | hsv(69, 72%, 77%) |
| CMYK | cmyk(11.2%, 0%, 72.1%, 22.7%) |
| CIE-LAB | lab(75.65, -25.63, 64.55) |
| CIE-LCH | lch(75.65, 69.45, 111.65°) |
| OKLab | oklab(78.13% -0.0765 0.1434) |
| OKLCH | oklch(78.13% 0.163 118.1) |
| XYZ | xyz(38.3359, 49.3227, 11.1144) |
| Luminance | 0.4932 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.27
Gross Green
#A0BF16
ΔE00 2.88
Snot Green
#9DC100
ΔE00 3.47
Bile
#B5C306
ΔE00 3.55
Baby Puke Green
#B6C406
ΔE00 3.60
Snot
#ACBB0D
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC537 #4D37C5
analogous
#C59437 #AFC537 #68C537
triadic
#AFC537 #37AFC5 #C537AF
tetradic
#AFC537 #37C594 #4D37C5 #C53768
square
#AFC537 #37C594 #4D37C5 #C53768
split-complementary
#AFC537 #3768C5 #9437C5
monochromatic
#5A651C #85952A #AFC537 #C3D465 #D6E195
Accessibility & contrast
On white
1.93
#AFC537 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.86
#AFC537 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC537
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC537 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC537 | 1.00 | 1.93 | 10.86 | 10.86 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BA1C
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#BABAAA
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc537; /* rgb */ color: rgb(175, 197, 55); /* oklch */ color: oklch(78.1% 0.163 118.1);
Tailwind
colors: {
custom: {
50: '#cad678',
500: '#afc537',
950: '#000000',
},
}SCSS
$custom: #afc537; $custom-light: #cad678; $custom-dark: #000000;
JSON
{
"hex": "#afc537",
"rgb": {
"r": 175,
"g": 197,
"b": 55
},
"hsl": {
"h": 69.296,
"s": 56.349,
"l": 49.412
},
"oklch": {
"l": 0.78133,
"c": 0.16254,
"h": 118.1
},
"luminance": 0.49322
}Semantic roles & 50–950 ramp
primary
#AFC537
secondary
#958BCD
accent
#48E060
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B