#AFC53A#AFC53A
#AFC53A is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.2% C 0.161 H 118.1°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC53A |
|---|---|
| RGB | rgb(175, 197, 58) |
| HSL | hsl(69, 55%, 50%) |
| HSV | hsv(69, 71%, 77%) |
| CMYK | cmyk(11.2%, 0%, 70.6%, 22.7%) |
| CIE-LAB | lab(75.67, -25.47, 63.50) |
| CIE-LCH | lch(75.67, 68.42, 111.85°) |
| OKLab | oklab(78.15% -0.0758 0.1417) |
| OKLCH | oklch(78.15% 0.161 118.1) |
| XYZ | xyz(38.4100, 49.3523, 11.5047) |
| Luminance | 0.4935 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.40
Gross Green
#A0BF16
ΔE00 3.01
Snot Green
#9DC100
ΔE00 3.61
Sick Green
#9DB92C
ΔE00 3.73
Bile
#B5C306
ΔE00 3.80
Snot
#ACBB0D
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC53A #503AC5
analogous
#C5953A #AFC53A #6AC53A
triadic
#AFC53A #3AAFC5 #C53AAF
tetradic
#AFC53A #3AC595 #503AC5 #C53A6A
square
#AFC53A #3AC595 #503AC5 #C53A6A
split-complementary
#AFC53A #3A6AC5 #953AC5
monochromatic
#5B661E #85962C #AFC53A #C2D369 #D5E199
Accessibility & contrast
On white
1.93
#AFC53A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.87
#AFC53A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC53A
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC53A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC53A | 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)
#D2BA22
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc53a; /* rgb */ color: rgb(175, 197, 58); /* oklch */ color: oklch(78.2% 0.161 118.1);
Tailwind
colors: {
custom: {
50: '#cad679',
500: '#afc53a',
950: '#000000',
},
}SCSS
$custom: #afc53a; $custom-light: #cad679; $custom-dark: #000000;
JSON
{
"hex": "#afc53a",
"rgb": {
"r": 175,
"g": 197,
"b": 58
},
"hsl": {
"h": 69.496,
"s": 54.51,
"l": 50
},
"oklch": {
"l": 0.78154,
"c": 0.16069,
"h": 118.1
},
"luminance": 0.49352
}Semantic roles & 50–950 ramp
primary
#AFC53A
secondary
#988ECD
accent
#4ADE61
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C