#A5B725#A5B725
#A5B725 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.1% C 0.160 H 116.9°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B725 |
|---|---|
| RGB | rgb(165, 183, 37) |
| HSL | hsl(67, 66%, 43%) |
| HSV | hsv(67, 80%, 72%) |
| CMYK | cmyk(9.8%, 0%, 79.8%, 28.2%) |
| CIE-LAB | lab(70.87, -23.79, 65.56) |
| CIE-LCH | lch(70.87, 69.74, 109.94°) |
| OKLab | oklab(74.08% -0.0723 0.1428) |
| OKLCH | oklch(74.08% 0.16 116.9) |
| XYZ | xyz(32.7853, 42.0003, 8.1297) |
| Luminance | 0.4200 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.10
Snot
#ACBB0D
ΔE00 2.24
Sick Green
#9DB92C
ΔE00 2.34
Pea
#A4BF20
ΔE00 2.49
Bright Olive
#9CBB04
ΔE00 2.66
Puke Green
#9AAE07
ΔE00 2.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B725 #3725B7
analogous
#B78025 #A5B725 #5CB725
triadic
#A5B725 #25A5B7 #B725A5
tetradic
#A5B725 #25B780 #3725B7 #B7255C
square
#A5B725 #25B780 #3725B7 #B7255C
split-complementary
#A5B725 #255CB7 #8025B7
monochromatic
#495110 #77841B #A5B725 #C6D941 #D5E374
Accessibility & contrast
On white
2.23
#A5B725 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#A5B725 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B725
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B725 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B725 | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#B0AC9C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a5b725; /* rgb */ color: rgb(165, 183, 37); /* oklch */ color: oklch(74.1% 0.160 116.9);
Tailwind
colors: {
custom: {
50: '#c4cc6d',
500: '#a5b725',
950: '#000000',
},
}SCSS
$custom: #a5b725; $custom-light: #c4cc6d; $custom-dark: #000000;
JSON
{
"hex": "#a5b725",
"rgb": {
"r": 165,
"g": 183,
"b": 37
},
"hsl": {
"h": 67.397,
"s": 66.364,
"l": 43.137
},
"oklch": {
"l": 0.74077,
"c": 0.16008,
"h": 116.9
},
"luminance": 0.42
}Semantic roles & 50–950 ramp
primary
#A5B725
secondary
#796ECA
accent
#3FE954
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B