#AFC047#AFC047
#AFC047 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.1% C 0.146 H 116.7°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC047 |
|---|---|
| RGB | rgb(175, 192, 71) |
| HSL | hsl(68, 49%, 52%) |
| HSV | hsv(68, 63%, 75%) |
| CMYK | cmyk(8.9%, 0%, 63%, 24.7%) |
| CIE-LAB | lab(74.36, -22.23, 57.06) |
| CIE-LCH | lch(74.36, 61.24, 111.28°) |
| OKLab | oklab(77.13% -0.0655 0.1301) |
| OKLCH | oklch(77.13% 0.146 116.7) |
| XYZ | xyz(37.6669, 47.2686, 13.0995) |
| Luminance | 0.4727 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.43
Sick Green
#9DB92C
ΔE00 3.58
Booger
#9BB53C
ΔE00 4.01
Gross Green
#A0BF16
ΔE00 4.11
Light Olive Green
#A4BE5C
ΔE00 4.32
Snot
#ACBB0D
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC047 #5847C0
analogous
#C09547 #AFC047 #73C047
triadic
#AFC047 #47AFC0 #C047AF
tetradic
#AFC047 #47C095 #5847C0 #C04773
square
#AFC047 #47C095 #5847C0 #C04773
split-complementary
#AFC047 #4773C0 #9547C0
monochromatic
#5F6924 #889633 #AFC047 #C3D075 #D7DFA2
Accessibility & contrast
On white
2.01
#AFC047 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.45
#AFC047 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC047
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC047 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC047 | 1.00 | 2.01 | 10.45 | 10.45 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB638
Deuteranopia (green-blind)
#CBB84F
Tritanopia (blue-blind)
#B9B6A7
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc047; /* rgb */ color: rgb(175, 192, 71); /* oklch */ color: oklch(77.1% 0.146 116.7);
Tailwind
colors: {
custom: {
50: '#cad380',
500: '#afc047',
950: '#000000',
},
}SCSS
$custom: #afc047; $custom-light: #cad380; $custom-dark: #000000;
JSON
{
"hex": "#afc047",
"rgb": {
"r": 175,
"g": 192,
"b": 71
},
"hsl": {
"h": 68.43,
"s": 48.988,
"l": 51.569
},
"oklch": {
"l": 0.77132,
"c": 0.14567,
"h": 116.7
},
"luminance": 0.47268
}Semantic roles & 50–950 ramp
primary
#AFC047
secondary
#9E97CC
accent
#4FD963
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C