#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
RGBrgb(165, 183, 48)
HSLhsl(68, 58%, 45%)
HSVhsv(68, 74%, 72%)
CMYKcmyk(9.8%, 0%, 73.8%, 28.2%)
CIE-LABlab(70.93, -23.31, 62.17)
CIE-LCHlch(70.93, 66.40, 110.56°)
OKLaboklab(74.14% -0.0702 0.1375)
OKLCHoklch(74.14% 0.154 117)
XYZxyz(32.9848, 42.0801, 9.1804)
Luminance0.4208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##A5B7301.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.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

Preview Lab

Preview with #A5B730

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A5B730 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva