#AFC339#AFC339
#AFC339 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.159 H 117.5°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC339 |
|---|---|
| RGB | rgb(175, 195, 57) |
| HSL | hsl(69, 55%, 49%) |
| HSV | hsv(69, 71%, 76%) |
| CMYK | cmyk(10.3%, 0%, 70.8%, 23.5%) |
| CIE-LAB | lab(75.10, -24.55, 63.30) |
| CIE-LCH | lch(75.10, 67.90, 111.20°) |
| OKLab | oklab(77.7% -0.0733 0.1411) |
| OKLCH | oklch(77.7% 0.159 117.5) |
| XYZ | xyz(37.9337, 48.4400, 11.2216) |
| Luminance | 0.4844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.26
Gross Green
#A0BF16
ΔE00 2.97
Snot
#ACBB0D
ΔE00 3.39
Sick Green
#9DB92C
ΔE00 3.51
Bile
#B5C306
ΔE00 3.58
Baby Puke Green
#B6C406
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC339 #4D39C3
analogous
#C39239 #AFC339 #6AC339
triadic
#AFC339 #39AFC3 #C339AF
tetradic
#AFC339 #39C392 #4D39C3 #C3396A
square
#AFC339 #39C392 #4D39C3 #C3396A
split-complementary
#AFC339 #396AC3 #9239C3
monochromatic
#5A641D #85942B #AFC339 #C3D267 #D6E096
Accessibility & contrast
On white
1.96
#AFC339 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.69
#AFC339 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC339
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC339 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC339 | 1.00 | 1.96 | 10.69 | 10.69 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B921
Deuteranopia (green-blind)
#CEBA44
Tritanopia (blue-blind)
#BAB8A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #afc339; /* rgb */ color: rgb(175, 195, 57); /* oklch */ color: oklch(77.7% 0.159 117.5);
Tailwind
colors: {
custom: {
50: '#cad578',
500: '#afc339',
950: '#000000',
},
}SCSS
$custom: #afc339; $custom-light: #cad578; $custom-dark: #000000;
JSON
{
"hex": "#afc339",
"rgb": {
"r": 175,
"g": 195,
"b": 57
},
"hsl": {
"h": 68.696,
"s": 54.762,
"l": 49.412
},
"oklch": {
"l": 0.77695,
"c": 0.15904,
"h": 117.5
},
"luminance": 0.4844
}Semantic roles & 50–950 ramp
primary
#AFC339
secondary
#958CCC
accent
#4ADE5F
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B