#AFC143#AFC143
#AFC143 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.150 H 117.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC143 |
|---|---|
| RGB | rgb(175, 193, 67) |
| HSL | hsl(69, 50%, 51%) |
| HSV | hsv(69, 65%, 76%) |
| CMYK | cmyk(9.3%, 0%, 65.3%, 24.3%) |
| CIE-LAB | lab(74.61, -22.98, 58.97) |
| CIE-LCH | lch(74.61, 63.29, 111.29°) |
| OKLab | oklab(77.32% -0.068 0.1336) |
| OKLCH | oklch(77.32% 0.15 117) |
| XYZ | xyz(37.7631, 47.6596, 12.5190) |
| Luminance | 0.4766 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.00
Sick Green
#9DB92C
ΔE00 3.46
Gross Green
#A0BF16
ΔE00 3.69
Snot
#ACBB0D
ΔE00 3.99
Booger
#9BB53C
ΔE00 4.19
Bright Olive
#9CBB04
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC143 #5543C1
analogous
#C19443 #AFC143 #70C143
triadic
#AFC143 #43AFC1 #C143AF
tetradic
#AFC143 #43C194 #5543C1 #C14370
square
#AFC143 #43C194 #5543C1 #C14370
split-complementary
#AFC143 #4370C1 #9443C1
monochromatic
#5E6722 #879531 #AFC143 #C3D071 #D6DF9F
Accessibility & contrast
On white
1.99
#AFC143 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.53
#AFC143 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC143
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC143 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC143 | 1.00 | 1.99 | 10.53 | 10.53 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB732
Deuteranopia (green-blind)
#CCB84C
Tritanopia (blue-blind)
#B9B7A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc143; /* rgb */ color: rgb(175, 193, 67); /* oklch */ color: oklch(77.3% 0.150 117.0);
Tailwind
colors: {
custom: {
50: '#cad37e',
500: '#afc143',
950: '#000000',
},
}SCSS
$custom: #afc143; $custom-light: #cad37e; $custom-dark: #000000;
JSON
{
"hex": "#afc143",
"rgb": {
"r": 175,
"g": 193,
"b": 67
},
"hsl": {
"h": 68.571,
"s": 50.4,
"l": 50.98
},
"oklch": {
"l": 0.77322,
"c": 0.14989,
"h": 117
},
"luminance": 0.47659
}Semantic roles & 50–950 ramp
primary
#AFC143
secondary
#9C94CC
accent
#4EDA62
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C