#A5B154#A5B154

#A5B154 is a light, moderate yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.119 H 115.5°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#A5B154
RGBrgb(165, 177, 84)
HSLhsl(68, 37%, 51%)
HSVhsv(68, 53%, 69%)
CMYKcmyk(6.8%, 0%, 52.5%, 30.6%)
CIE-LABlab(69.53, -17.81, 45.58)
CIE-LCHlch(69.53, 48.94, 111.34°)
OKLaboklab(73.11% -0.0512 0.1073)
OKLCHoklch(73.11% 0.119 115.5)
XYZxyz(32.8399, 40.0841, 14.3928)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B154 #6054B1
analogous
#B18E54 #A5B154 #76B154
triadic
#A5B154 #54A5B1 #B154A5
tetradic
#A5B154 #54B18E #6054B1 #B15476
square
#A5B154 #54B18E #6054B1 #B15476
split-complementary
#A5B154 #5476B1 #8E54B1
monochromatic
#595F2B #80893F #A5B154 #BBC47E #D1D7A8

Accessibility & contrast

On white

2.33
#A5B154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#A5B154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B154
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B154#FFFFFF#000000##000000
##A5B1541.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94B
Deuteranopia (green-blind)
#BBAB59
Tritanopia (blue-blind)
#AEA89C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b154;
/* rgb */ color: rgb(165, 177, 84);
/* oklch */ color: oklch(73.1% 0.119 115.5);
Tailwind
colors: {
  custom: {
    50: '#c1c887',
    500: '#a5b154',
    950: '#000000',
  },
}
SCSS
$custom: #a5b154;
$custom-light: #c1c887;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b154",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 67.742,
    "s": 37.349,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73114,
    "c": 0.11888,
    "h": 115.5
  },
  "luminance": 0.40084
}

Semantic roles & 50–950 ramp

primary
#A5B154
secondary
#A19CC5
accent
#5ACD69
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B154

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

Preview Lab → · Contrast checker → · Palette generator →

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