#AFC531#AFC531
#AFC531 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.1% C 0.166 H 118.0°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC531 |
|---|---|
| RGB | rgb(175, 197, 49) |
| HSL | hsl(69, 60%, 48%) |
| HSV | hsv(69, 75%, 77%) |
| CMYK | cmyk(11.2%, 0%, 75.1%, 22.7%) |
| CIE-LAB | lab(75.62, -25.92, 66.53) |
| CIE-LCH | lch(75.62, 71.40, 111.28°) |
| OKLab | oklab(78.1% -0.0778 0.1466) |
| OKLCH | oklch(78.1% 0.166 118) |
| XYZ | xyz(38.2007, 49.2686, 10.4025) |
| Luminance | 0.4927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.11
Gross Green
#A0BF16
ΔE00 2.72
Bile
#B5C306
ΔE00 3.10
Baby Puke Green
#B6C406
ΔE00 3.15
Snot Green
#9DC100
ΔE00 3.26
Green Yellow
#B5CE08
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC531 #4731C5
analogous
#C59131 #AFC531 #65C531
triadic
#AFC531 #31AFC5 #C531AF
tetradic
#AFC531 #31C591 #4731C5 #C53165
square
#AFC531 #31C591 #4731C5 #C53165
split-complementary
#AFC531 #3165C5 #9131C5
monochromatic
#586319 #839425 #AFC531 #C4D75D #D6E38E
Accessibility & contrast
On white
1.93
#AFC531 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.85
#AFC531 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC531
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC531 | 1.00 | 1.93 | 10.85 | 10.85 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BA0C
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#BABAA9
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc531; /* rgb */ color: rgb(175, 197, 49); /* oklch */ color: oklch(78.1% 0.166 118.0);
Tailwind
colors: {
custom: {
50: '#cbd675',
500: '#afc531',
950: '#000000',
},
}SCSS
$custom: #afc531; $custom-light: #cbd675; $custom-dark: #000000;
JSON
{
"hex": "#afc531",
"rgb": {
"r": 175,
"g": 197,
"b": 49
},
"hsl": {
"h": 68.919,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.78095,
"c": 0.16595,
"h": 118
},
"luminance": 0.49268
}Semantic roles & 50–950 ramp
primary
#AFC531
secondary
#8F85CD
accent
#44E35C
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B