#AFC132#AFC132
#AFC132 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.161 H 116.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC132 |
|---|---|
| RGB | rgb(175, 193, 50) |
| HSL | hsl(68, 59%, 48%) |
| HSV | hsv(68, 74%, 76%) |
| CMYK | cmyk(9.3%, 0%, 74.1%, 24.3%) |
| CIE-LAB | lab(74.50, -23.93, 65.15) |
| CIE-LCH | lch(74.50, 69.41, 110.17°) |
| OKLab | oklab(77.2% -0.0722 0.1438) |
| OKLCH | oklch(77.2% 0.161 116.7) |
| XYZ | xyz(37.3258, 47.4847, 10.2161) |
| Luminance | 0.4748 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.09
Snot
#ACBB0D
ΔE00 2.55
Gross Green
#A0BF16
ΔE00 2.86
Bile
#B5C306
ΔE00 2.93
Baby Puke Green
#B6C406
ΔE00 3.06
Sick Green
#9DB92C
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC132 #4432C1
analogous
#C18B32 #AFC132 #68C132
triadic
#AFC132 #32AFC1 #C132AF
tetradic
#AFC132 #32C18B #4432C1 #C13268
square
#AFC132 #32C18B #4432C1 #C13268
split-complementary
#AFC132 #3268C1 #8B32C1
monochromatic
#576019 #839025 #AFC132 #C5D55C #D7E18C
Accessibility & contrast
On white
2.00
#AFC132 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.50
#AFC132 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC132
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC132 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC132 | 1.00 | 2.00 | 10.50 | 10.50 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB712
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc132; /* rgb */ color: rgb(175, 193, 50); /* oklch */ color: oklch(77.2% 0.161 116.7);
Tailwind
colors: {
custom: {
50: '#cad375',
500: '#afc132',
950: '#000000',
},
}SCSS
$custom: #afc132; $custom-light: #cad375; $custom-dark: #000000;
JSON
{
"hex": "#afc132",
"rgb": {
"r": 175,
"g": 193,
"b": 50
},
"hsl": {
"h": 67.552,
"s": 58.848,
"l": 47.647
},
"oklch": {
"l": 0.77197,
"c": 0.16096,
"h": 116.7
},
"luminance": 0.47484
}Semantic roles & 50–950 ramp
primary
#AFC132
secondary
#8C83CB
accent
#46E259
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B