#A5B023#A5B023
#A5B023 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.153 H 114.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B023 |
|---|---|
| RGB | rgb(165, 176, 35) |
| HSL | hsl(65, 67%, 41%) |
| HSV | hsv(65, 80%, 69%) |
| CMYK | cmyk(6.2%, 0%, 80.1%, 31%) |
| CIE-LAB | lab(68.88, -20.39, 64.36) |
| CIE-LCH | lch(68.88, 67.51, 107.58°) |
| OKLab | oklab(72.47% -0.0631 0.1399) |
| OKLCH | oklch(72.47% 0.153 114.3) |
| XYZ | xyz(31.3467, 39.1720, 7.4994) |
| Luminance | 0.3917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.12
Puke Green
#9AAE07
ΔE00 2.28
Barf Green
#94AC02
ΔE00 3.35
Snot
#ACBB0D
ΔE00 3.37
Pea Soup Green
#94A617
ΔE00 3.73
Vomit
#A2A415
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B023 #2E23B0
analogous
#B07523 #A5B023 #5FB023
triadic
#A5B023 #23A5B0 #B023A5
tetradic
#A5B023 #23B075 #2E23B0 #B0235F
square
#A5B023 #23B075 #2E23B0 #B0235F
split-complementary
#A5B023 #235FB0 #7523B0
monochromatic
#454A0F #757D19 #A5B023 #CBD839 #D8E26C
Accessibility & contrast
On white
2.38
#A5B023 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#A5B023 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B023
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B023 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B023 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDA931
Tritanopia (blue-blind)
#B0A596
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a5b023; /* rgb */ color: rgb(165, 176, 35); /* oklch */ color: oklch(72.5% 0.153 114.3);
Tailwind
colors: {
custom: {
50: '#c3c76c',
500: '#a5b023',
950: '#000000',
},
}SCSS
$custom: #a5b023; $custom-light: #c3c76c; $custom-dark: #000000;
JSON
{
"hex": "#a5b023",
"rgb": {
"r": 165,
"g": 176,
"b": 35
},
"hsl": {
"h": 64.681,
"s": 66.825,
"l": 41.373
},
"oklch": {
"l": 0.72471,
"c": 0.15346,
"h": 114.3
},
"luminance": 0.39171
}Semantic roles & 50–950 ramp
primary
#A5B023
secondary
#6F67C8
accent
#3EEA4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A