#AFC141#AFC141
#AFC141 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.3% C 0.151 H 116.9°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC141 |
|---|---|
| RGB | rgb(175, 193, 65) |
| HSL | hsl(68, 51%, 51%) |
| HSV | hsv(68, 66%, 76%) |
| CMYK | cmyk(9.3%, 0%, 66.3%, 24.3%) |
| CIE-LAB | lab(74.59, -23.11, 59.76) |
| CIE-LCH | lch(74.59, 64.07, 111.14°) |
| OKLab | oklab(77.31% -0.0686 0.1349) |
| OKLCH | oklch(77.31% 0.151 116.9) |
| XYZ | xyz(37.7041, 47.6360, 12.2084) |
| Luminance | 0.4764 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.84
Sick Green
#9DB92C
ΔE00 3.41
Gross Green
#A0BF16
ΔE00 3.55
Snot
#ACBB0D
ΔE00 3.79
Bright Olive
#9CBB04
ΔE00 4.23
Booger
#9BB53C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC141 #5341C1
analogous
#C19341 #AFC141 #6FC141
triadic
#AFC141 #41AFC1 #C141AF
tetradic
#AFC141 #41C193 #5341C1 #C1416F
square
#AFC141 #41C193 #5341C1 #C1416F
split-complementary
#AFC141 #416FC1 #9341C1
monochromatic
#5D6621 #869430 #AFC141 #C2D06F #D6DF9D
Accessibility & contrast
On white
1.99
#AFC141 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.53
#AFC141 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC141
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC141 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC141 | 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)
#CEB72F
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#B9B6A7
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc141; /* rgb */ color: rgb(175, 193, 65); /* oklch */ color: oklch(77.3% 0.151 116.9);
Tailwind
colors: {
custom: {
50: '#cad37c',
500: '#afc141',
950: '#000000',
},
}SCSS
$custom: #afc141; $custom-light: #cad37c; $custom-dark: #000000;
JSON
{
"hex": "#afc141",
"rgb": {
"r": 175,
"g": 193,
"b": 65
},
"hsl": {
"h": 68.438,
"s": 50.794,
"l": 50.588
},
"oklch": {
"l": 0.77305,
"c": 0.15134,
"h": 116.9
},
"luminance": 0.47636
}Semantic roles & 50–950 ramp
primary
#AFC141
secondary
#9A92CB
accent
#4EDA61
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C