#AFC033#AFC033
#AFC033 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.159 H 116.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC033 |
|---|---|
| RGB | rgb(175, 192, 51) |
| HSL | hsl(67, 58%, 48%) |
| HSV | hsv(67, 73%, 75%) |
| CMYK | cmyk(8.9%, 0%, 73.4%, 24.7%) |
| CIE-LAB | lab(74.22, -23.39, 64.55) |
| CIE-LCH | lch(74.22, 68.66, 109.92°) |
| OKLab | oklab(76.98% -0.0707 0.1427) |
| OKLCH | oklch(76.98% 0.159 116.3) |
| XYZ | xyz(37.1273, 47.0528, 10.2576) |
| Luminance | 0.4705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.21
Snot
#ACBB0D
ΔE00 2.46
Gross Green
#A0BF16
ΔE00 2.99
Bile
#B5C306
ΔE00 3.02
Baby Puke Green
#B6C406
ΔE00 3.16
Sick Green
#9DB92C
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC033 #4433C0
analogous
#C08A33 #AFC033 #68C033
triadic
#AFC033 #33AFC0 #C033AF
tetradic
#AFC033 #33C08A #4433C0 #C03368
square
#AFC033 #33C08A #4433C0 #C03368
split-complementary
#AFC033 #3368C0 #8A33C0
monochromatic
#575F19 #839026 #AFC033 #C5D45C #D7E18D
Accessibility & contrast
On white
2.02
#AFC033 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#AFC033 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC033
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC033 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC033 | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB616
Deuteranopia (green-blind)
#CCB73F
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afc033; /* rgb */ color: rgb(175, 192, 51); /* oklch */ color: oklch(77.0% 0.159 116.3);
Tailwind
colors: {
custom: {
50: '#cad275',
500: '#afc033',
950: '#000000',
},
}SCSS
$custom: #afc033; $custom-light: #cad275; $custom-dark: #000000;
JSON
{
"hex": "#afc033",
"rgb": {
"r": 175,
"g": 192,
"b": 51
},
"hsl": {
"h": 67.234,
"s": 58.025,
"l": 47.647
},
"oklch": {
"l": 0.76978,
"c": 0.15929,
"h": 116.3
},
"luminance": 0.47052
}Semantic roles & 50–950 ramp
primary
#AFC033
secondary
#8C84CB
accent
#47E159
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B