#AFC532#AFC532
#AFC532 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.1% C 0.165 H 118.0°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC532 |
|---|---|
| RGB | rgb(175, 197, 50) |
| HSL | hsl(69, 60%, 48%) |
| HSV | hsv(69, 75%, 77%) |
| CMYK | cmyk(11.2%, 0%, 74.6%, 22.7%) |
| CIE-LAB | lab(75.62, -25.87, 66.21) |
| CIE-LCH | lch(75.62, 71.09, 111.34°) |
| OKLab | oklab(78.1% -0.0776 0.1461) |
| OKLCH | oklch(78.1% 0.165 118) |
| XYZ | xyz(38.2221, 49.2771, 10.5149) |
| Luminance | 0.4928 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.13
Gross Green
#A0BF16
ΔE00 2.74
Bile
#B5C306
ΔE00 3.17
Baby Puke Green
#B6C406
ΔE00 3.22
Snot Green
#9DC100
ΔE00 3.28
Green Yellow
#B5CE08
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC532 #4832C5
analogous
#C59132 #AFC532 #65C532
triadic
#AFC532 #32AFC5 #C532AF
tetradic
#AFC532 #32C591 #4832C5 #C53265
square
#AFC532 #32C591 #4832C5 #C53265
split-complementary
#AFC532 #3265C5 #9132C5
monochromatic
#586319 #849426 #AFC532 #C4D65E #D6E38F
Accessibility & contrast
On white
1.93
#AFC532 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.86
#AFC532 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC532
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC532 | 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)
#D2BA10
Deuteranopia (green-blind)
#D0BB3F
Tritanopia (blue-blind)
#BABAA9
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc532; /* rgb */ color: rgb(175, 197, 50); /* oklch */ color: oklch(78.1% 0.165 118.0);
Tailwind
colors: {
custom: {
50: '#cad675',
500: '#afc532',
950: '#000000',
},
}SCSS
$custom: #afc532; $custom-light: #cad675; $custom-dark: #000000;
JSON
{
"hex": "#afc532",
"rgb": {
"r": 175,
"g": 197,
"b": 50
},
"hsl": {
"h": 68.98,
"s": 59.514,
"l": 48.431
},
"oklch": {
"l": 0.78101,
"c": 0.16541,
"h": 118
},
"luminance": 0.49277
}Semantic roles & 50–950 ramp
primary
#AFC532
secondary
#9086CD
accent
#45E35D
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B