#AFC334#AFC334
#AFC334 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.162 H 117.4°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC334 |
|---|---|
| RGB | rgb(175, 195, 52) |
| HSL | hsl(68, 58%, 48%) |
| HSV | hsv(68, 73%, 76%) |
| CMYK | cmyk(10.3%, 0%, 73.3%, 23.5%) |
| CIE-LAB | lab(75.07, -24.81, 65.02) |
| CIE-LCH | lch(75.07, 69.60, 110.88°) |
| OKLab | oklab(77.66% -0.0745 0.1439) |
| OKLCH | oklch(77.66% 0.162 117.4) |
| XYZ | xyz(37.8150, 48.3925, 10.5968) |
| Luminance | 0.4839 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.07
Gross Green
#A0BF16
ΔE00 2.79
Snot
#ACBB0D
ΔE00 3.05
Bile
#B5C306
ΔE00 3.16
Baby Puke Green
#B6C406
ΔE00 3.24
Snot Green
#9DC100
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC334 #4834C3
analogous
#C38F34 #AFC334 #67C334
triadic
#AFC334 #34AFC3 #C334AF
tetradic
#AFC334 #34C38F #4834C3 #C33467
square
#AFC334 #34C38F #4834C3 #C33467
split-complementary
#AFC334 #3467C3 #8F34C3
monochromatic
#58621A #849327 #AFC334 #C4D560 #D6E190
Accessibility & contrast
On white
1.97
#AFC334 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#AFC334 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC334
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC334 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC334 | 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)
#D0B816
Deuteranopia (green-blind)
#CEBA40
Tritanopia (blue-blind)
#BAB8A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #afc334; /* rgb */ color: rgb(175, 195, 52); /* oklch */ color: oklch(77.7% 0.162 117.4);
Tailwind
colors: {
custom: {
50: '#cad576',
500: '#afc334',
950: '#000000',
},
}SCSS
$custom: #afc334; $custom-light: #cad576; $custom-dark: #000000;
JSON
{
"hex": "#afc334",
"rgb": {
"r": 175,
"g": 195,
"b": 52
},
"hsl": {
"h": 68.392,
"s": 57.895,
"l": 48.431
},
"oklch": {
"l": 0.77661,
"c": 0.16205,
"h": 117.4
},
"luminance": 0.48392
}Semantic roles & 50–950 ramp
primary
#AFC334
secondary
#9087CC
accent
#47E15C
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B