#AFC146#AFC146
#AFC146 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.148 H 117.1°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC146 |
|---|---|
| RGB | rgb(175, 193, 70) |
| HSL | hsl(69, 50%, 52%) |
| HSV | hsv(69, 64%, 76%) |
| CMYK | cmyk(9.3%, 0%, 63.7%, 24.3%) |
| CIE-LAB | lab(74.63, -22.79, 57.77) |
| CIE-LCH | lch(74.63, 62.10, 111.53°) |
| OKLab | oklab(77.35% -0.0672 0.1315) |
| OKLCH | oklch(77.35% 0.148 117.1) |
| XYZ | xyz(37.8554, 47.6965, 13.0053) |
| Luminance | 0.4770 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.26
Sick Green
#9DB92C
ΔE00 3.56
Gross Green
#A0BF16
ΔE00 3.93
Booger
#9BB53C
ΔE00 4.12
Snot
#ACBB0D
ΔE00 4.30
Light Olive Green
#A4BE5C
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC146 #5846C1
analogous
#C19546 #AFC146 #72C146
triadic
#AFC146 #46AFC1 #C146AF
tetradic
#AFC146 #46C195 #5846C1 #C14672
square
#AFC146 #46C195 #5846C1 #C14672
split-complementary
#AFC146 #4672C1 #9546C1
monochromatic
#5F6923 #889733 #AFC146 #C3D074 #D7E0A2
Accessibility & contrast
On white
1.99
#AFC146 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#AFC146 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC146
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC146 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC146 | 1.00 | 1.99 | 10.54 | 10.54 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB736
Deuteranopia (green-blind)
#CCB84E
Tritanopia (blue-blind)
#B9B7A8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc146; /* rgb */ color: rgb(175, 193, 70); /* oklch */ color: oklch(77.3% 0.148 117.1);
Tailwind
colors: {
custom: {
50: '#cad37f',
500: '#afc146',
950: '#000000',
},
}SCSS
$custom: #afc146; $custom-light: #cad37f; $custom-dark: #000000;
JSON
{
"hex": "#afc146",
"rgb": {
"r": 175,
"g": 193,
"b": 70
},
"hsl": {
"h": 68.78,
"s": 49.798,
"l": 51.569
},
"oklch": {
"l": 0.77348,
"c": 0.14763,
"h": 117.1
},
"luminance": 0.47696
}Semantic roles & 50–950 ramp
primary
#AFC146
secondary
#9E96CC
accent
#4ED963
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C