#AFC530#AFC530
#AFC530 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.1% C 0.166 H 117.9°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC530 |
|---|---|
| RGB | rgb(175, 197, 48) |
| HSL | hsl(69, 61%, 48%) |
| HSV | hsv(69, 76%, 77%) |
| CMYK | cmyk(11.2%, 0%, 75.6%, 22.7%) |
| CIE-LAB | lab(75.61, -25.96, 66.85) |
| CIE-LCH | lch(75.61, 71.71, 111.22°) |
| OKLab | oklab(78.09% -0.078 0.1471) |
| OKLCH | oklch(78.09% 0.166 117.9) |
| XYZ | xyz(38.1798, 49.2602, 10.2926) |
| Luminance | 0.4926 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.10
Gross Green
#A0BF16
ΔE00 2.70
Bile
#B5C306
ΔE00 3.03
Baby Puke Green
#B6C406
ΔE00 3.08
Green Yellow
#B5CE08
ΔE00 3.22
Snot Green
#9DC100
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC530 #4630C5
analogous
#C59030 #AFC530 #64C530
triadic
#AFC530 #30AFC5 #C530AF
tetradic
#AFC530 #30C590 #4630C5 #C53064
square
#AFC530 #30C590 #4630C5 #C53064
split-complementary
#AFC530 #3064C5 #9030C5
monochromatic
#586318 #839424 #AFC530 #C5D75B #D6E38C
Accessibility & contrast
On white
1.94
#AFC530 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.85
#AFC530 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC530
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC530 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC530 | 1.00 | 1.94 | 10.85 | 10.85 |
| #FFFFFF | 1.94 | 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)
#D2BA08
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#BABAA9
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc530; /* rgb */ color: rgb(175, 197, 48); /* oklch */ color: oklch(78.1% 0.166 117.9);
Tailwind
colors: {
custom: {
50: '#cbd674',
500: '#afc530',
950: '#000000',
},
}SCSS
$custom: #afc530; $custom-light: #cbd674; $custom-dark: #000000;
JSON
{
"hex": "#afc530",
"rgb": {
"r": 175,
"g": 197,
"b": 48
},
"hsl": {
"h": 68.859,
"s": 60.816,
"l": 48.039
},
"oklch": {
"l": 0.7809,
"c": 0.16649,
"h": 117.9
},
"luminance": 0.4926
}Semantic roles & 50–950 ramp
primary
#AFC530
secondary
#8E84CD
accent
#44E45B
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B