#AFC045#AFC045
#AFC045 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.147 H 116.7°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC045 |
|---|---|
| RGB | rgb(175, 192, 69) |
| HSL | hsl(68, 49%, 51%) |
| HSV | hsv(68, 64%, 75%) |
| CMYK | cmyk(8.9%, 0%, 64.1%, 24.7%) |
| CIE-LAB | lab(74.35, -22.36, 57.88) |
| CIE-LCH | lch(74.35, 62.05, 111.12°) |
| OKLab | oklab(77.11% -0.0661 0.1315) |
| OKLCH | oklch(77.11% 0.147 116.7) |
| XYZ | xyz(37.6038, 47.2434, 12.7670) |
| Luminance | 0.4724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.25
Sick Green
#9DB92C
ΔE00 3.50
Gross Green
#A0BF16
ΔE00 3.95
Booger
#9BB53C
ΔE00 4.04
Snot
#ACBB0D
ΔE00 4.11
Light Olive Green
#A4BE5C
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC045 #5645C0
analogous
#C09345 #AFC045 #71C045
triadic
#AFC045 #45AFC0 #C045AF
tetradic
#AFC045 #45C093 #5645C0 #C04571
square
#AFC045 #45C093 #5645C0 #C04571
split-complementary
#AFC045 #4571C0 #9345C0
monochromatic
#5E6823 #889533 #AFC045 #C3CF73 #D6DFA0
Accessibility & contrast
On white
2.01
#AFC045 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.45
#AFC045 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC045
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC045 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC045 | 1.00 | 2.01 | 10.45 | 10.45 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB635
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#B9B6A7
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc045; /* rgb */ color: rgb(175, 192, 69); /* oklch */ color: oklch(77.1% 0.147 116.7);
Tailwind
colors: {
custom: {
50: '#cad37f',
500: '#afc045',
950: '#000000',
},
}SCSS
$custom: #afc045; $custom-light: #cad37f; $custom-dark: #000000;
JSON
{
"hex": "#afc045",
"rgb": {
"r": 175,
"g": 192,
"b": 69
},
"hsl": {
"h": 68.293,
"s": 49.398,
"l": 51.176
},
"oklch": {
"l": 0.77114,
"c": 0.14721,
"h": 116.7
},
"luminance": 0.47243
}Semantic roles & 50–950 ramp
primary
#AFC045
secondary
#9D95CC
accent
#4FD962
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C