#AFC539#AFC539
#AFC539 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.1% C 0.161 H 118.1°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC539 |
|---|---|
| RGB | rgb(175, 197, 57) |
| HSL | hsl(69, 55%, 50%) |
| HSV | hsv(69, 71%, 77%) |
| CMYK | cmyk(11.2%, 0%, 71.1%, 22.7%) |
| CIE-LAB | lab(75.66, -25.52, 63.85) |
| CIE-LCH | lch(75.66, 68.77, 111.79°) |
| OKLab | oklab(78.15% -0.076 0.1423) |
| OKLCH | oklch(78.15% 0.161 118.1) |
| XYZ | xyz(38.3848, 49.3422, 11.3720) |
| Luminance | 0.4934 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.35
Gross Green
#A0BF16
ΔE00 2.96
Snot Green
#9DC100
ΔE00 3.56
Bile
#B5C306
ΔE00 3.72
Sick Green
#9DB92C
ΔE00 3.74
Baby Puke Green
#B6C406
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC539 #4F39C5
analogous
#C59539 #AFC539 #69C539
triadic
#AFC539 #39AFC5 #C539AF
tetradic
#AFC539 #39C595 #4F39C5 #C53969
square
#AFC539 #39C595 #4F39C5 #C53969
split-complementary
#AFC539 #3969C5 #9539C5
monochromatic
#5B661E #85962B #AFC539 #C2D368 #D5E197
Accessibility & contrast
On white
1.93
#AFC539 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.87
#AFC539 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC539
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC539 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC539 | 1.00 | 1.93 | 10.87 | 10.87 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BA20
Deuteranopia (green-blind)
#D0BB44
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc539; /* rgb */ color: rgb(175, 197, 57); /* oklch */ color: oklch(78.1% 0.161 118.1);
Tailwind
colors: {
custom: {
50: '#cad679',
500: '#afc539',
950: '#000000',
},
}SCSS
$custom: #afc539; $custom-light: #cad679; $custom-dark: #000000;
JSON
{
"hex": "#afc539",
"rgb": {
"r": 175,
"g": 197,
"b": 57
},
"hsl": {
"h": 69.429,
"s": 55.118,
"l": 49.804
},
"oklch": {
"l": 0.78147,
"c": 0.16131,
"h": 118.1
},
"luminance": 0.49342
}Semantic roles & 50–950 ramp
primary
#AFC539
secondary
#978DCD
accent
#49DE61
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C