#AFC332#AFC332
#AFC332 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.6% C 0.163 H 117.3°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC332 |
|---|---|
| RGB | rgb(175, 195, 50) |
| HSL | hsl(68, 59%, 48%) |
| HSV | hsv(68, 74%, 76%) |
| CMYK | cmyk(10.3%, 0%, 74.4%, 23.5%) |
| CIE-LAB | lab(75.06, -24.90, 65.68) |
| CIE-LCH | lch(75.06, 70.25, 110.76°) |
| OKLab | oklab(77.65% -0.0749 0.145) |
| OKLCH | oklch(77.65% 0.163 117.3) |
| XYZ | xyz(37.7709, 48.3749, 10.3645) |
| Luminance | 0.4837 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.02
Gross Green
#A0BF16
ΔE00 2.73
Snot
#ACBB0D
ΔE00 2.93
Bile
#B5C306
ΔE00 3.00
Baby Puke Green
#B6C406
ΔE00 3.09
Snot Green
#9DC100
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC332 #4632C3
analogous
#C38E32 #AFC332 #66C332
triadic
#AFC332 #32AFC3 #C332AF
tetradic
#AFC332 #32C38E #4632C3 #C33266
square
#AFC332 #32C38E #4632C3 #C33266
split-complementary
#AFC332 #3266C3 #8E32C3
monochromatic
#586219 #839226 #AFC332 #C5D55D #D6E28E
Accessibility & contrast
On white
1.97
#AFC332 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.67
#AFC332 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC332
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC332 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC332 | 1.00 | 1.97 | 10.67 | 10.67 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B811
Deuteranopia (green-blind)
#CEBA3F
Tritanopia (blue-blind)
#BAB8A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #afc332; /* rgb */ color: rgb(175, 195, 50); /* oklch */ color: oklch(77.6% 0.163 117.3);
Tailwind
colors: {
custom: {
50: '#cad575',
500: '#afc332',
950: '#000000',
},
}SCSS
$custom: #afc332; $custom-light: #cad575; $custom-dark: #000000;
JSON
{
"hex": "#afc332",
"rgb": {
"r": 175,
"g": 195,
"b": 50
},
"hsl": {
"h": 68.276,
"s": 59.184,
"l": 48.039
},
"oklch": {
"l": 0.77649,
"c": 0.16318,
"h": 117.3
},
"luminance": 0.48374
}Semantic roles & 50–950 ramp
primary
#AFC332
secondary
#8E85CC
accent
#45E25B
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B