#A5B641#A5B641
#A5B641 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.0% C 0.142 H 117.0°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B641 |
|---|---|
| RGB | rgb(165, 182, 65) |
| HSL | hsl(69, 47%, 48%) |
| HSV | hsv(69, 64%, 71%) |
| CMYK | cmyk(9.3%, 0%, 64.3%, 28.6%) |
| CIE-LAB | lab(70.76, -21.83, 55.52) |
| CIE-LCH | lch(70.76, 59.66, 111.46°) |
| OKLab | oklab(74.04% -0.0644 0.1262) |
| OKLCH | oklch(74.04% 0.142 117) |
| XYZ | xyz(33.1998, 41.8373, 11.3264) |
| Luminance | 0.4184 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.07
Sick Green
#9DB92C
ΔE00 2.77
Sickly Green
#94B21C
ΔE00 3.82
Avocado (survey)
#90B134
ΔE00 4.01
Pea
#A4BF20
ΔE00 4.08
Puke Green
#9AAE07
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B641 #5241B6
analogous
#B68C41 #A5B641 #6AB641
triadic
#A5B641 #41A5B6 #B641A5
tetradic
#A5B641 #41B68C #5241B6 #B6416A
square
#A5B641 #41B68C #5241B6 #B6416A
split-complementary
#A5B641 #416AB6 #8C41B6
monochromatic
#535C21 #7C8931 #A5B641 #BCCA6A #D0DA97
Accessibility & contrast
On white
2.24
#A5B641 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#A5B641 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B641
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B641 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B641 | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#C0AE49
Tritanopia (blue-blind)
#AFAC9E
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a5b641; /* rgb */ color: rgb(165, 182, 65); /* oklch */ color: oklch(74.0% 0.142 117.0);
Tailwind
colors: {
custom: {
50: '#c2cb7b',
500: '#a5b641',
950: '#000000',
},
}SCSS
$custom: #a5b641; $custom-light: #c2cb7b; $custom-dark: #000000;
JSON
{
"hex": "#a5b641",
"rgb": {
"r": 165,
"g": 182,
"b": 65
},
"hsl": {
"h": 68.718,
"s": 47.368,
"l": 48.431
},
"oklch": {
"l": 0.74041,
"c": 0.14172,
"h": 117
},
"luminance": 0.41837
}Semantic roles & 50–950 ramp
primary
#A5B641
secondary
#958DC6
accent
#51D764
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C