#A5B319#A5B319
#A5B319 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.161 H 115.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B319 |
|---|---|
| RGB | rgb(165, 179, 25) |
| HSL | hsl(65, 75%, 40%) |
| HSV | hsv(65, 86%, 70%) |
| CMYK | cmyk(7.8%, 0%, 86%, 29.8%) |
| CIE-LAB | lab(69.69, -22.19, 67.53) |
| CIE-LCH | lch(69.69, 71.08, 108.19°) |
| OKLab | oklab(73.11% -0.0687 0.145) |
| OKLCH | oklch(73.11% 0.161 115.4) |
| XYZ | xyz(31.8136, 40.3103, 7.0243) |
| Luminance | 0.4031 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.18
Puke Green
#9AAE07
ΔE00 2.17
Snot
#ACBB0D
ΔE00 2.37
Booger Green
#96B403
ΔE00 3.28
Barf Green
#94AC02
ΔE00 3.33
Sick Green
#9DB92C
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B319 #2719B3
analogous
#B37419 #A5B319 #58B319
triadic
#A5B319 #19A5B3 #B319A5
tetradic
#A5B319 #19B374 #2719B3 #B31958
square
#A5B319 #19B374 #2719B3 #B31958
split-complementary
#A5B319 #1958B3 #7419B3
monochromatic
#42480A #737D12 #A5B319 #D0E128 #DCE85E
Accessibility & contrast
On white
2.32
#A5B319 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A5B319 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B319
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B319 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B319 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2B
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b319; /* rgb */ color: rgb(165, 179, 25); /* oklch */ color: oklch(73.1% 0.161 115.4);
Tailwind
colors: {
custom: {
50: '#c4c969',
500: '#a5b319',
950: '#000000',
},
}SCSS
$custom: #a5b319; $custom-light: #c4c969; $custom-dark: #000000;
JSON
{
"hex": "#a5b319",
"rgb": {
"r": 165,
"g": 179,
"b": 25
},
"hsl": {
"h": 65.455,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.73113,
"c": 0.1605,
"h": 115.4
},
"luminance": 0.4031
}Semantic roles & 50–950 ramp
primary
#A5B319
secondary
#665BCC
accent
#36F247
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A