#AFC536#AFC536
#AFC536 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 | #AFC536 |
|---|---|
| RGB | rgb(175, 197, 54) |
| HSL | hsl(69, 57%, 49%) |
| HSV | hsv(69, 73%, 77%) |
| CMYK | cmyk(11.2%, 0%, 72.6%, 22.7%) |
| CIE-LAB | lab(75.65, -25.68, 64.89) |
| CIE-LCH | lch(75.65, 69.79, 111.59°) |
| OKLab | oklab(78.13% -0.0767 0.144) |
| OKLCH | oklch(78.13% 0.163 118.1) |
| XYZ | xyz(38.3122, 49.3132, 10.9894) |
| Luminance | 0.4931 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.23
Gross Green
#A0BF16
ΔE00 2.85
Snot Green
#9DC100
ΔE00 3.42
Bile
#B5C306
ΔE00 3.47
Baby Puke Green
#B6C406
ΔE00 3.52
Snot
#ACBB0D
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC536 #4C36C5
analogous
#C59436 #AFC536 #68C536
triadic
#AFC536 #36AFC5 #C536AF
tetradic
#AFC536 #36C594 #4C36C5 #C53668
square
#AFC536 #36C594 #4C36C5 #C53668
split-complementary
#AFC536 #3668C5 #9436C5
monochromatic
#5A651C #849529 #AFC536 #C3D464 #D6E294
Accessibility & contrast
On white
1.93
#AFC536 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.86
#AFC536 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC536
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC536 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC536 | 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)
#D2BA1A
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#BABAA9
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc536; /* rgb */ color: rgb(175, 197, 54); /* oklch */ color: oklch(78.1% 0.163 118.1);
Tailwind
colors: {
custom: {
50: '#cad677',
500: '#afc536',
950: '#000000',
},
}SCSS
$custom: #afc536; $custom-light: #cad677; $custom-dark: #000000;
JSON
{
"hex": "#afc536",
"rgb": {
"r": 175,
"g": 197,
"b": 54
},
"hsl": {
"h": 69.231,
"s": 56.972,
"l": 49.216
},
"oklch": {
"l": 0.78126,
"c": 0.16313,
"h": 118.1
},
"luminance": 0.49313
}Semantic roles & 50–950 ramp
primary
#AFC536
secondary
#948ACD
accent
#48E05F
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B