#AFC249#AFC249
#AFC249 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.6% C 0.146 H 117.5°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC249 |
|---|---|
| RGB | rgb(175, 194, 73) |
| HSL | hsl(69, 50%, 52%) |
| HSV | hsv(69, 62%, 76%) |
| CMYK | cmyk(9.8%, 0%, 62.4%, 23.9%) |
| CIE-LAB | lab(74.94, -23.07, 56.84) |
| CIE-LCH | lch(74.94, 61.34, 112.09°) |
| OKLab | oklab(77.6% -0.0677 0.1299) |
| OKLCH | oklch(77.6% 0.146 117.5) |
| XYZ | xyz(38.1743, 48.1790, 13.5905) |
| Luminance | 0.4818 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.50
Sick Green
#9DB92C
ΔE00 3.73
Light Olive Green
#A4BE5C
ΔE00 4.12
Gross Green
#A0BF16
ΔE00 4.12
Booger
#9BB53C
ΔE00 4.20
Snot
#ACBB0D
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC249 #5C49C2
analogous
#C29849 #AFC249 #73C249
triadic
#AFC249 #49AFC2 #C249AF
tetradic
#AFC249 #49C298 #5C49C2 #C24973
square
#AFC249 #49C298 #5C49C2 #C24973
split-complementary
#AFC249 #4973C2 #9849C2
monochromatic
#616C24 #8A9A34 #AFC249 #C3D177 #D7E1A5
Accessibility & contrast
On white
1.97
#AFC249 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.64
#AFC249 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC249
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC249 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC249 | 1.00 | 1.97 | 10.64 | 10.64 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB83A
Deuteranopia (green-blind)
#CCB951
Tritanopia (blue-blind)
#B9B8A9
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc249; /* rgb */ color: rgb(175, 194, 73); /* oklch */ color: oklch(77.6% 0.146 117.5);
Tailwind
colors: {
custom: {
50: '#cad481',
500: '#afc249',
950: '#000000',
},
}SCSS
$custom: #afc249; $custom-light: #cad481; $custom-dark: #000000;
JSON
{
"hex": "#afc249",
"rgb": {
"r": 175,
"g": 194,
"b": 73
},
"hsl": {
"h": 69.421,
"s": 49.794,
"l": 52.353
},
"oklch": {
"l": 0.776,
"c": 0.14647,
"h": 117.5
},
"luminance": 0.48179
}Semantic roles & 50–950 ramp
primary
#AFC249
secondary
#A199CE
accent
#4ED964
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C