#AFC145#AFC145
#AFC145 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.148 H 117.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC145 |
|---|---|
| RGB | rgb(175, 193, 69) |
| HSL | hsl(69, 50%, 51%) |
| HSV | hsv(69, 64%, 76%) |
| CMYK | cmyk(9.3%, 0%, 64.2%, 24.3%) |
| CIE-LAB | lab(74.63, -22.85, 58.17) |
| CIE-LCH | lch(74.63, 62.50, 111.45°) |
| OKLab | oklab(77.34% -0.0675 0.1322) |
| OKLCH | oklch(77.34% 0.148 117) |
| XYZ | xyz(37.8241, 47.6840, 12.8404) |
| Luminance | 0.4768 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.17
Sick Green
#9DB92C
ΔE00 3.52
Gross Green
#A0BF16
ΔE00 3.85
Booger
#9BB53C
ΔE00 4.14
Snot
#ACBB0D
ΔE00 4.20
Light Olive Green
#A4BE5C
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC145 #5745C1
analogous
#C19545 #AFC145 #71C145
triadic
#AFC145 #45AFC1 #C145AF
tetradic
#AFC145 #45C195 #5745C1 #C14571
square
#AFC145 #45C195 #5745C1 #C14571
split-complementary
#AFC145 #4571C1 #9545C1
monochromatic
#5F6923 #889732 #AFC145 #C3D073 #D6E0A1
Accessibility & contrast
On white
1.99
#AFC145 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#AFC145 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC145
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC145 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC145 | 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)
#CEB735
Deuteranopia (green-blind)
#CCB84E
Tritanopia (blue-blind)
#B9B7A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc145; /* rgb */ color: rgb(175, 193, 69); /* oklch */ color: oklch(77.3% 0.148 117.0);
Tailwind
colors: {
custom: {
50: '#cad37f',
500: '#afc145',
950: '#000000',
},
}SCSS
$custom: #afc145; $custom-light: #cad37f; $custom-dark: #000000;
JSON
{
"hex": "#afc145",
"rgb": {
"r": 175,
"g": 193,
"b": 69
},
"hsl": {
"h": 68.71,
"s": 50,
"l": 51.373
},
"oklch": {
"l": 0.77339,
"c": 0.14839,
"h": 117
},
"luminance": 0.47684
}Semantic roles & 50–950 ramp
primary
#AFC145
secondary
#9E96CC
accent
#4EDA62
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C