#A5B54C#A5B54C

#A5B54C is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.9% C 0.131 H 117.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#A5B54C
RGBrgb(165, 181, 76)
HSLhsl(69, 42%, 50%)
HSVhsv(69, 58%, 71%)
CMYKcmyk(8.8%, 0%, 58%, 29%)
CIE-LABlab(70.57, -20.51, 50.52)
CIE-LCHlch(70.57, 54.53, 112.10°)
OKLaboklab(73.92% -0.0596 0.1171)
OKLCHoklch(73.92% 0.131 117)
XYZxyz(33.3460, 41.5692, 13.1031)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B54C #5C4CB5
analogous
#B5904C #A5B54C #70B54C
triadic
#A5B54C #4CA5B5 #B54CA5
tetradic
#A5B54C #4CB590 #5C4CB5 #B54C70
square
#A5B54C #4CB590 #5C4CB5 #B54C70
split-complementary
#A5B54C #4C70B5 #904CB5
monochromatic
#575F27 #7E8B39 #A5B54C #BBC777 #D1D9A3

Accessibility & contrast

On white

2.25
#A5B54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#A5B54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B54C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B54C#FFFFFF#000000##000000
##A5B54C1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC41
Deuteranopia (green-blind)
#BFAD52
Tritanopia (blue-blind)
#AEAC9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b54c;
/* rgb */ color: rgb(165, 181, 76);
/* oklch */ color: oklch(73.9% 0.131 117.0);
Tailwind
colors: {
  custom: {
    50: '#c2cb82',
    500: '#a5b54c',
    950: '#000000',
  },
}
SCSS
$custom: #a5b54c;
$custom-light: #c2cb82;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b54c",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 76
  },
  "hsl": {
    "h": 69.143,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73923,
    "c": 0.13137,
    "h": 117
  },
  "luminance": 0.41569
}

Semantic roles & 50–950 ramp

primary
#A5B54C
secondary
#9E97C6
accent
#56D169
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B54C

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

Preview Lab → · Contrast checker → · Palette generator →

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