#AFC046#AFC046
#AFC046 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 | #AFC046 |
|---|---|
| RGB | rgb(175, 192, 70) |
| HSL | hsl(68, 49%, 51%) |
| HSV | hsv(68, 64%, 75%) |
| CMYK | cmyk(8.9%, 0%, 63.5%, 24.7%) |
| CIE-LAB | lab(74.35, -22.29, 57.47) |
| CIE-LCH | lch(74.35, 61.64, 111.20°) |
| OKLab | oklab(77.12% -0.0658 0.1308) |
| OKLCH | oklch(77.12% 0.146 116.7) |
| XYZ | xyz(37.6351, 47.2559, 12.9319) |
| Luminance | 0.4726 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.34
Sick Green
#9DB92C
ΔE00 3.54
Booger
#9BB53C
ΔE00 4.03
Gross Green
#A0BF16
ΔE00 4.03
Snot
#ACBB0D
ΔE00 4.22
Light Olive Green
#A4BE5C
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC046 #5746C0
analogous
#C09446 #AFC046 #72C046
triadic
#AFC046 #46AFC0 #C046AF
tetradic
#AFC046 #46C094 #5746C0 #C04672
square
#AFC046 #46C094 #5746C0 #C04672
split-complementary
#AFC046 #4672C0 #9446C0
monochromatic
#5F6823 #889633 #AFC046 #C3D074 #D6DFA1
Accessibility & contrast
On white
2.01
#AFC046 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.45
#AFC046 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC046
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC046 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC046 | 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)
#CDB636
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#B9B6A7
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc046; /* rgb */ color: rgb(175, 192, 70); /* oklch */ color: oklch(77.1% 0.146 116.7);
Tailwind
colors: {
custom: {
50: '#cad37f',
500: '#afc046',
950: '#000000',
},
}SCSS
$custom: #afc046; $custom-light: #cad37f; $custom-dark: #000000;
JSON
{
"hex": "#afc046",
"rgb": {
"r": 175,
"g": 192,
"b": 70
},
"hsl": {
"h": 68.361,
"s": 49.194,
"l": 51.373
},
"oklch": {
"l": 0.77123,
"c": 0.14645,
"h": 116.7
},
"luminance": 0.47255
}Semantic roles & 50–950 ramp
primary
#AFC046
secondary
#9E96CC
accent
#4FD962
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C