#A5B838#A5B838
#A5B838 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.4% C 0.151 H 117.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B838 |
|---|---|
| RGB | rgb(165, 184, 56) |
| HSL | hsl(69, 53%, 47%) |
| HSV | hsv(69, 70%, 72%) |
| CMYK | cmyk(10.3%, 0%, 69.6%, 27.8%) |
| CIE-LAB | lab(71.26, -23.38, 59.62) |
| CIE-LCH | lch(71.26, 64.04, 111.41°) |
| OKLab | oklab(74.42% -0.0696 0.1335) |
| OKLCH | oklch(74.42% 0.151 117.5) |
| XYZ | xyz(33.3721, 42.5662, 10.1987) |
| Luminance | 0.4257 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.90
Booger
#9BB53C
ΔE00 2.29
Pea
#A4BF20
ΔE00 2.90
Sickly Green
#94B21C
ΔE00 3.32
Bright Olive
#9CBB04
ΔE00 3.40
Gross Green
#A0BF16
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B838 #4B38B8
analogous
#B88B38 #A5B838 #65B838
triadic
#A5B838 #38A5B8 #B838A5
tetradic
#A5B838 #38B88B #4B38B8 #B83865
square
#A5B838 #38B88B #4B38B8 #B83865
split-complementary
#A5B838 #3865B8 #8B38B8
monochromatic
#515A1B #7B892A #A5B838 #BECE5F #D1DD8E
Accessibility & contrast
On white
2.21
#A5B838 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#A5B838 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B838
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B838 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B838 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE23
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#AFAE9F
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b838; /* rgb */ color: rgb(165, 184, 56); /* oklch */ color: oklch(74.4% 0.151 117.5);
Tailwind
colors: {
custom: {
50: '#c3cd76',
500: '#a5b838',
950: '#000000',
},
}SCSS
$custom: #a5b838; $custom-light: #c3cd76; $custom-dark: #000000;
JSON
{
"hex": "#a5b838",
"rgb": {
"r": 165,
"g": 184,
"b": 56
},
"hsl": {
"h": 68.906,
"s": 53.333,
"l": 47.059
},
"oklch": {
"l": 0.74422,
"c": 0.15054,
"h": 117.5
},
"luminance": 0.42566
}Semantic roles & 50–950 ramp
primary
#A5B838
secondary
#8F85C7
accent
#4BDD61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B