#AFC241#AFC241
#AFC241 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.5% C 0.153 H 117.3°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC241 |
|---|---|
| RGB | rgb(175, 194, 65) |
| HSL | hsl(69, 51%, 51%) |
| HSV | hsv(69, 66%, 76%) |
| CMYK | cmyk(9.8%, 0%, 66.5%, 23.9%) |
| CIE-LAB | lab(74.88, -23.60, 60.05) |
| CIE-LCH | lch(74.88, 64.52, 111.46°) |
| OKLab | oklab(77.53% -0.0699 0.1355) |
| OKLCH | oklch(77.53% 0.153 117.3) |
| XYZ | xyz(37.9259, 48.0796, 12.2824) |
| Luminance | 0.4808 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.78
Sick Green
#9DB92C
ΔE00 3.46
Gross Green
#A0BF16
ΔE00 3.47
Snot
#ACBB0D
ΔE00 3.91
Bright Olive
#9CBB04
ΔE00 4.23
Snot Green
#9DC100
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC241 #5441C2
analogous
#C29441 #AFC241 #6EC241
triadic
#AFC241 #41AFC2 #C241AF
tetradic
#AFC241 #41C294 #5441C2 #C2416E
square
#AFC241 #41C294 #5441C2 #C2416E
split-complementary
#AFC241 #416EC2 #9441C2
monochromatic
#5D6721 #879630 #AFC241 #C3D16F #D6E09E
Accessibility & contrast
On white
1.98
#AFC241 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.62
#AFC241 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC241
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC241 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC241 | 1.00 | 1.98 | 10.62 | 10.62 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB82F
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#B9B7A8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc241; /* rgb */ color: rgb(175, 194, 65); /* oklch */ color: oklch(77.5% 0.153 117.3);
Tailwind
colors: {
custom: {
50: '#cad47d',
500: '#afc241',
950: '#000000',
},
}SCSS
$custom: #afc241; $custom-light: #cad47d; $custom-dark: #000000;
JSON
{
"hex": "#afc241",
"rgb": {
"r": 175,
"g": 194,
"b": 65
},
"hsl": {
"h": 68.837,
"s": 51.394,
"l": 50.784
},
"oklch": {
"l": 0.7753,
"c": 0.15251,
"h": 117.3
},
"luminance": 0.48079
}Semantic roles & 50–950 ramp
primary
#AFC241
secondary
#9B93CC
accent
#4DDB62
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C