#AFC246#AFC246
#AFC246 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.6% C 0.149 H 117.4°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC246 |
|---|---|
| RGB | rgb(175, 194, 70) |
| HSL | hsl(69, 50%, 52%) |
| HSV | hsv(69, 64%, 76%) |
| CMYK | cmyk(9.8%, 0%, 63.9%, 23.9%) |
| CIE-LAB | lab(74.91, -23.28, 58.07) |
| CIE-LCH | lch(74.91, 62.56, 111.84°) |
| OKLab | oklab(77.57% -0.0686 0.1321) |
| OKLCH | oklch(77.57% 0.149 117.4) |
| XYZ | xyz(38.0772, 48.1401, 13.0792) |
| Luminance | 0.4814 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.21
Sick Green
#9DB92C
ΔE00 3.60
Gross Green
#A0BF16
ΔE00 3.86
Booger
#9BB53C
ΔE00 4.24
Snot
#ACBB0D
ΔE00 4.40
Light Olive Green
#A4BE5C
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC246 #5946C2
analogous
#C29746 #AFC246 #71C246
triadic
#AFC246 #46AFC2 #C246AF
tetradic
#AFC246 #46C297 #5946C2 #C24671
square
#AFC246 #46C297 #5946C2 #C24671
split-complementary
#AFC246 #4671C2 #9746C2
monochromatic
#606A23 #899932 #AFC246 #C3D174 #D7E0A2
Accessibility & contrast
On white
1.98
#AFC246 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.63
#AFC246 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC246
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC246 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC246 | 1.00 | 1.98 | 10.63 | 10.63 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB836
Deuteranopia (green-blind)
#CDB94F
Tritanopia (blue-blind)
#B9B8A8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc246; /* rgb */ color: rgb(175, 194, 70); /* oklch */ color: oklch(77.6% 0.149 117.4);
Tailwind
colors: {
custom: {
50: '#cad47f',
500: '#afc246',
950: '#000000',
},
}SCSS
$custom: #afc246; $custom-light: #cad47f; $custom-dark: #000000;
JSON
{
"hex": "#afc246",
"rgb": {
"r": 175,
"g": 194,
"b": 70
},
"hsl": {
"h": 69.194,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.77573,
"c": 0.14881,
"h": 117.4
},
"luminance": 0.4814
}Semantic roles & 50–950 ramp
primary
#AFC246
secondary
#9F97CD
accent
#4EDA63
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C