#AFC335#AFC335
#AFC335 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 | #AFC335 |
|---|---|
| RGB | rgb(175, 195, 53) |
| HSL | hsl(68, 57%, 49%) |
| HSV | hsv(68, 73%, 76%) |
| CMYK | cmyk(10.3%, 0%, 72.8%, 23.5%) |
| CIE-LAB | lab(75.08, -24.76, 64.69) |
| CIE-LCH | lch(75.08, 69.26, 110.94°) |
| OKLab | oklab(77.67% -0.0743 0.1434) |
| OKLCH | oklch(77.67% 0.161 117.4) |
| XYZ | xyz(37.8378, 48.4016, 10.7166) |
| Luminance | 0.4840 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.10
Gross Green
#A0BF16
ΔE00 2.82
Snot
#ACBB0D
ΔE00 3.11
Bile
#B5C306
ΔE00 3.24
Baby Puke Green
#B6C406
ΔE00 3.32
Snot Green
#9DC100
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC335 #4935C3
analogous
#C39035 #AFC335 #68C335
triadic
#AFC335 #35AFC3 #C335AF
tetradic
#AFC335 #35C390 #4935C3 #C33568
square
#AFC335 #35C390 #4935C3 #C33568
split-complementary
#AFC335 #3568C3 #9035C3
monochromatic
#59631B #849328 #AFC335 #C4D461 #D6E191
Accessibility & contrast
On white
1.97
#AFC335 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#AFC335 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC335
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC335 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC335 | 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)
#D0B819
Deuteranopia (green-blind)
#CEBA41
Tritanopia (blue-blind)
#BAB8A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #afc335; /* rgb */ color: rgb(175, 195, 53); /* oklch */ color: oklch(77.7% 0.161 117.4);
Tailwind
colors: {
custom: {
50: '#cad576',
500: '#afc335',
950: '#000000',
},
}SCSS
$custom: #afc335; $custom-light: #cad576; $custom-dark: #000000;
JSON
{
"hex": "#afc335",
"rgb": {
"r": 175,
"g": 195,
"b": 53
},
"hsl": {
"h": 68.451,
"s": 57.258,
"l": 48.627
},
"oklch": {
"l": 0.77668,
"c": 0.16147,
"h": 117.4
},
"luminance": 0.48401
}Semantic roles & 50–950 ramp
primary
#AFC335
secondary
#9188CC
accent
#47E15D
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B