#A5B73A#A5B73A

#A5B73A is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.148 H 117.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#A5B73A
RGBrgb(165, 183, 58)
HSLhsl(69, 52%, 47%)
HSVhsv(69, 68%, 72%)
CMYKcmyk(9.8%, 0%, 68.3%, 28.2%)
CIE-LABlab(70.99, -22.77, 58.58)
CIE-LCHlch(70.99, 62.85, 111.24°)
OKLaboklab(74.21% -0.0677 0.1316)
OKLCHoklch(74.21% 0.148 117.2)
XYZxyz(33.2150, 42.1722, 10.3924)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B73A #4C3AB7
analogous
#B78B3A #A5B73A #67B73A
triadic
#A5B73A #3AA5B7 #B73AA5
tetradic
#A5B73A #3AB78B #4C3AB7 #B73A67
square
#A5B73A #3AB78B #4C3AB7 #B73A67
split-complementary
#A5B73A #3A67B7 #8B3AB7
monochromatic
#515A1D #7B892B #A5B73A #BDCD61 #D1DC90

Accessibility & contrast

On white

2.23
#A5B73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#A5B73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B73A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B73A#FFFFFF#000000##000000
##A5B73A1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD27
Deuteranopia (green-blind)
#C1AE43
Tritanopia (blue-blind)
#AFAD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b73a;
/* rgb */ color: rgb(165, 183, 58);
/* oklch */ color: oklch(74.2% 0.148 117.2);
Tailwind
colors: {
  custom: {
    50: '#c3cc77',
    500: '#a5b73a',
    950: '#000000',
  },
}
SCSS
$custom: #a5b73a;
$custom-light: #c3cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b73a",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 68.64,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7421,
    "c": 0.14802,
    "h": 117.2
  },
  "luminance": 0.42172
}

Semantic roles & 50–950 ramp

primary
#A5B73A
secondary
#8F86C7
accent
#4CDB61
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B73A

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

Preview Lab → · Contrast checker → · Palette generator →

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