#A5B125#A5B125
#A5B125 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.154 H 114.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B125 |
|---|---|
| RGB | rgb(165, 177, 37) |
| HSL | hsl(65, 65%, 42%) |
| HSV | hsv(65, 79%, 69%) |
| CMYK | cmyk(6.8%, 0%, 79.1%, 30.6%) |
| CIE-LAB | lab(69.17, -20.82, 64.04) |
| CIE-LCH | lch(69.17, 67.34, 108.01°) |
| OKLab | oklab(72.71% -0.0642 0.1396) |
| OKLCH | oklch(72.71% 0.154 114.7) |
| XYZ | xyz(31.5741, 39.5778, 7.7259) |
| Luminance | 0.3958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.07
Puke Green
#9AAE07
ΔE00 2.27
Snot
#ACBB0D
ΔE00 3.21
Barf Green
#94AC02
ΔE00 3.32
Booger Green
#96B403
ΔE00 3.69
Sick Green
#9DB92C
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B125 #3125B1
analogous
#B17725 #A5B125 #5FB125
triadic
#A5B125 #25A5B1 #B125A5
tetradic
#A5B125 #25B177 #3125B1 #B1255F
square
#A5B125 #25B177 #3125B1 #B1255F
split-complementary
#A5B125 #255FB1 #7725B1
monochromatic
#474C10 #767E1A #A5B125 #C9D63D #D7E16F
Accessibility & contrast
On white
2.36
#A5B125 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#A5B125 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B125
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B125 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B125 | 1.00 | 2.36 | 8.92 | 8.92 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#B0A697
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a5b125; /* rgb */ color: rgb(165, 177, 37); /* oklch */ color: oklch(72.7% 0.154 114.7);
Tailwind
colors: {
custom: {
50: '#c3c86d',
500: '#a5b125',
950: '#000000',
},
}SCSS
$custom: #a5b125; $custom-light: #c3c86d; $custom-dark: #000000;
JSON
{
"hex": "#a5b125",
"rgb": {
"r": 165,
"g": 177,
"b": 37
},
"hsl": {
"h": 65.143,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.72708,
"c": 0.15359,
"h": 114.7
},
"luminance": 0.39577
}Semantic roles & 50–950 ramp
primary
#A5B125
secondary
#726AC8
accent
#3FE84E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A