#AFC149#AFC149
#AFC149 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.145 H 117.2°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC149 |
|---|---|
| RGB | rgb(175, 193, 73) |
| HSL | hsl(69, 49%, 52%) |
| HSV | hsv(69, 62%, 76%) |
| CMYK | cmyk(9.3%, 0%, 62.2%, 24.3%) |
| CIE-LAB | lab(74.66, -22.58, 56.54) |
| CIE-LCH | lch(74.66, 60.88, 111.77°) |
| OKLab | oklab(77.38% -0.0663 0.1293) |
| OKLCH | oklch(77.38% 0.145 117.2) |
| XYZ | xyz(37.9525, 47.7353, 13.5165) |
| Luminance | 0.4773 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.55
Sick Green
#9DB92C
ΔE00 3.69
Booger
#9BB53C
ΔE00 4.08
Light Olive Green
#A4BE5C
ΔE00 4.11
Gross Green
#A0BF16
ΔE00 4.20
Snot
#ACBB0D
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC149 #5B49C1
analogous
#C19749 #AFC149 #73C149
triadic
#AFC149 #49AFC1 #C149AF
tetradic
#AFC149 #49C197 #5B49C1 #C14973
square
#AFC149 #49C197 #5B49C1 #C14973
split-complementary
#AFC149 #4973C1 #9749C1
monochromatic
#616B24 #8A9934 #AFC149 #C3D177 #D7E0A4
Accessibility & contrast
On white
1.99
#AFC149 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#AFC149 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC149
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC149 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC149 | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB73A
Deuteranopia (green-blind)
#CCB851
Tritanopia (blue-blind)
#B9B7A8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc149; /* rgb */ color: rgb(175, 193, 73); /* oklch */ color: oklch(77.4% 0.145 117.2);
Tailwind
colors: {
custom: {
50: '#cad381',
500: '#afc149',
950: '#000000',
},
}SCSS
$custom: #afc149; $custom-light: #cad381; $custom-dark: #000000;
JSON
{
"hex": "#afc149",
"rgb": {
"r": 175,
"g": 193,
"b": 73
},
"hsl": {
"h": 69,
"s": 49.18,
"l": 52.157
},
"oklch": {
"l": 0.77376,
"c": 0.14528,
"h": 117.2
},
"luminance": 0.47735
}Semantic roles & 50–950 ramp
primary
#AFC149
secondary
#A199CD
accent
#4FD964
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C