#AFC336#AFC336
#AFC336 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.161 H 117.4°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC336 |
|---|---|
| RGB | rgb(175, 195, 54) |
| HSL | hsl(69, 57%, 49%) |
| HSV | hsv(69, 72%, 76%) |
| CMYK | cmyk(10.3%, 0%, 72.3%, 23.5%) |
| CIE-LAB | lab(75.08, -24.71, 64.35) |
| CIE-LCH | lch(75.08, 68.93, 111.01°) |
| OKLab | oklab(77.67% -0.074 0.1428) |
| OKLCH | oklch(77.67% 0.161 117.4) |
| XYZ | xyz(37.8610, 48.4109, 10.8390) |
| Luminance | 0.4841 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.14
Gross Green
#A0BF16
ΔE00 2.85
Snot
#ACBB0D
ΔE00 3.18
Bile
#B5C306
ΔE00 3.32
Baby Puke Green
#B6C406
ΔE00 3.40
Sick Green
#9DB92C
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC336 #4A36C3
analogous
#C39136 #AFC336 #68C336
triadic
#AFC336 #36AFC3 #C336AF
tetradic
#AFC336 #36C391 #4A36C3 #C33668
square
#AFC336 #36C391 #4A36C3 #C33668
split-complementary
#AFC336 #3668C3 #9136C3
monochromatic
#59631B #849329 #AFC336 #C4D463 #D6E192
Accessibility & contrast
On white
1.97
#AFC336 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#AFC336 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC336
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC336 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC336 | 1.00 | 1.97 | 10.68 | 10.68 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B81B
Deuteranopia (green-blind)
#CEBA42
Tritanopia (blue-blind)
#BAB8A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #afc336; /* rgb */ color: rgb(175, 195, 54); /* oklch */ color: oklch(77.7% 0.161 117.4);
Tailwind
colors: {
custom: {
50: '#cad577',
500: '#afc336',
950: '#000000',
},
}SCSS
$custom: #afc336; $custom-light: #cad577; $custom-dark: #000000;
JSON
{
"hex": "#afc336",
"rgb": {
"r": 175,
"g": 195,
"b": 54
},
"hsl": {
"h": 68.511,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.77674,
"c": 0.16088,
"h": 117.4
},
"luminance": 0.48411
}Semantic roles & 50–950 ramp
primary
#AFC336
secondary
#9289CC
accent
#48E05D
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B