#A5B730#A5B730
#A5B730 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.1% C 0.154 H 117.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B730 |
|---|---|
| RGB | rgb(165, 183, 48) |
| HSL | hsl(68, 58%, 45%) |
| HSV | hsv(68, 74%, 72%) |
| CMYK | cmyk(9.8%, 0%, 73.8%, 28.2%) |
| CIE-LAB | lab(70.93, -23.31, 62.17) |
| CIE-LCH | lch(70.93, 66.40, 110.56°) |
| OKLab | oklab(74.14% -0.0702 0.1375) |
| OKLCH | oklch(74.14% 0.154 117) |
| XYZ | xyz(32.9848, 42.0801, 9.1804) |
| Luminance | 0.4208 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.04
Pea
#A4BF20
ΔE00 2.73
Booger
#9BB53C
ΔE00 2.83
Mustard Green
#A8B504
ΔE00 2.90
Snot
#ACBB0D
ΔE00 2.99
Bright Olive
#9CBB04
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B730 #4230B7
analogous
#B78530 #A5B730 #61B730
triadic
#A5B730 #30A5B7 #B730A5
tetradic
#A5B730 #30B785 #4230B7 #B73061
square
#A5B730 #30B785 #4230B7 #B73061
split-complementary
#A5B730 #3061B7 #8530B7
monochromatic
#4E5617 #798723 #A5B730 #C1D252 #D2DE83
Accessibility & contrast
On white
2.23
#A5B730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#A5B730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B730
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B730 | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD14
Deuteranopia (green-blind)
#C2AE3C
Tritanopia (blue-blind)
#AFAD9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b730; /* rgb */ color: rgb(165, 183, 48); /* oklch */ color: oklch(74.1% 0.154 117.0);
Tailwind
colors: {
custom: {
50: '#c3cc72',
500: '#a5b730',
950: '#000000',
},
}SCSS
$custom: #a5b730; $custom-light: #c3cc72; $custom-dark: #000000;
JSON
{
"hex": "#a5b730",
"rgb": {
"r": 165,
"g": 183,
"b": 48
},
"hsl": {
"h": 68,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.74138,
"c": 0.15438,
"h": 117
},
"luminance": 0.4208
}Semantic roles & 50–950 ramp
primary
#A5B730
secondary
#857BC8
accent
#46E25B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B