#AFC148#AFC148
#AFC148 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.146 H 117.1°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC148 |
|---|---|
| RGB | rgb(175, 193, 72) |
| HSL | hsl(69, 49%, 52%) |
| HSV | hsv(69, 63%, 76%) |
| CMYK | cmyk(9.3%, 0%, 62.7%, 24.3%) |
| CIE-LAB | lab(74.65, -22.65, 56.95) |
| CIE-LCH | lch(74.65, 61.29, 111.69°) |
| OKLab | oklab(77.37% -0.0666 0.13) |
| OKLCH | oklch(77.37% 0.146 117.1) |
| XYZ | xyz(37.9196, 47.7222, 13.3433) |
| Luminance | 0.4772 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.45
Sick Green
#9DB92C
ΔE00 3.64
Booger
#9BB53C
ΔE00 4.09
Gross Green
#A0BF16
ΔE00 4.11
Light Olive Green
#A4BE5C
ΔE00 4.21
Snot
#ACBB0D
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC148 #5A48C1
analogous
#C19748 #AFC148 #72C148
triadic
#AFC148 #48AFC1 #C148AF
tetradic
#AFC148 #48C197 #5A48C1 #C14872
square
#AFC148 #48C197 #5A48C1 #C14872
split-complementary
#AFC148 #4872C1 #9748C1
monochromatic
#606B24 #899834 #AFC148 #C3D076 #D7E0A3
Accessibility & contrast
On white
1.99
#AFC148 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#AFC148 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC148
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC148 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC148 | 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)
#CDB739
Deuteranopia (green-blind)
#CCB850
Tritanopia (blue-blind)
#B9B7A8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc148; /* rgb */ color: rgb(175, 193, 72); /* oklch */ color: oklch(77.4% 0.146 117.1);
Tailwind
colors: {
custom: {
50: '#cad380',
500: '#afc148',
950: '#000000',
},
}SCSS
$custom: #afc148; $custom-light: #cad380; $custom-dark: #000000;
JSON
{
"hex": "#afc148",
"rgb": {
"r": 175,
"g": 193,
"b": 72
},
"hsl": {
"h": 68.926,
"s": 49.388,
"l": 51.961
},
"oklch": {
"l": 0.77366,
"c": 0.14607,
"h": 117.1
},
"luminance": 0.47722
}Semantic roles & 50–950 ramp
primary
#AFC148
secondary
#A098CD
accent
#4FD963
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C