#A5B156#A5B156

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

Color values

HEX#A5B156
RGBrgb(165, 177, 86)
HSLhsl(68, 37%, 52%)
HSVhsv(68, 51%, 69%)
CMYKcmyk(6.8%, 0%, 51.4%, 30.6%)
CIE-LABlab(69.55, -17.62, 44.64)
CIE-LCHlch(69.55, 48.00, 111.54°)
OKLaboklab(73.14% -0.0505 0.1054)
OKLCHoklch(73.14% 0.117 115.6)
XYZxyz(32.9194, 40.1159, 14.8113)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B156 #6256B1
analogous
#B19056 #A5B156 #78B156
triadic
#A5B156 #56A5B1 #B156A5
tetradic
#A5B156 #56B190 #6256B1 #B15678
square
#A5B156 #56B190 #6256B1 #B15678
split-complementary
#A5B156 #5678B1 #9056B1
monochromatic
#59602C #808A40 #A5B156 #BBC480 #D2D8AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B156#FFFFFF#000000##000000
##A5B1561.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)
#BCA94E
Deuteranopia (green-blind)
#BBAB5B
Tritanopia (blue-blind)
#AEA89C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b156;
/* rgb */ color: rgb(165, 177, 86);
/* oklch */ color: oklch(73.1% 0.117 115.6);
Tailwind
colors: {
  custom: {
    50: '#c1c888',
    500: '#a5b156',
    950: '#000000',
  },
}
SCSS
$custom: #a5b156;
$custom-light: #c1c888;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b156",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 86
  },
  "hsl": {
    "h": 67.912,
    "s": 36.842,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7314,
    "c": 0.11689,
    "h": 115.6
  },
  "luminance": 0.40115
}

Semantic roles & 50–950 ramp

primary
#A5B156
secondary
#A39DC5
accent
#5BCD6A
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B156

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

Preview Lab → · Contrast checker → · Palette generator →

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