#AFC333#AFC333
#AFC333 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.163 H 117.3°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC333 |
|---|---|
| RGB | rgb(175, 195, 51) |
| HSL | hsl(68, 59%, 48%) |
| HSV | hsv(68, 74%, 76%) |
| CMYK | cmyk(10.3%, 0%, 73.8%, 23.5%) |
| CIE-LAB | lab(75.07, -24.86, 65.36) |
| CIE-LCH | lch(75.07, 69.92, 110.82°) |
| OKLab | oklab(77.66% -0.0747 0.1444) |
| OKLCH | oklch(77.66% 0.163 117.3) |
| XYZ | xyz(37.7928, 48.3836, 10.4794) |
| Luminance | 0.4838 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.04
Gross Green
#A0BF16
ΔE00 2.76
Snot
#ACBB0D
ΔE00 2.99
Bile
#B5C306
ΔE00 3.08
Baby Puke Green
#B6C406
ΔE00 3.16
Snot Green
#9DC100
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC333 #4733C3
analogous
#C38F33 #AFC333 #67C333
triadic
#AFC333 #33AFC3 #C333AF
tetradic
#AFC333 #33C38F #4733C3 #C33367
square
#AFC333 #33C38F #4733C3 #C33367
split-complementary
#AFC333 #3367C3 #8F33C3
monochromatic
#58621A #839226 #AFC333 #C4D55E #D6E28F
Accessibility & contrast
On white
1.97
#AFC333 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#AFC333 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC333
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC333 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC333 | 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)
#D0B814
Deuteranopia (green-blind)
#CEBA3F
Tritanopia (blue-blind)
#BAB8A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #afc333; /* rgb */ color: rgb(175, 195, 51); /* oklch */ color: oklch(77.7% 0.163 117.3);
Tailwind
colors: {
custom: {
50: '#cad575',
500: '#afc333',
950: '#000000',
},
}SCSS
$custom: #afc333; $custom-light: #cad575; $custom-dark: #000000;
JSON
{
"hex": "#afc333",
"rgb": {
"r": 175,
"g": 195,
"b": 51
},
"hsl": {
"h": 68.333,
"s": 58.537,
"l": 48.235
},
"oklch": {
"l": 0.77655,
"c": 0.16262,
"h": 117.3
},
"luminance": 0.48383
}Semantic roles & 50–950 ramp
primary
#AFC333
secondary
#8F86CC
accent
#46E25C
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B