#A5B155#A5B155

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

Color values

HEX#A5B155
RGBrgb(165, 177, 85)
HSLhsl(68, 37%, 51%)
HSVhsv(68, 52%, 69%)
CMYKcmyk(6.8%, 0%, 52%, 30.6%)
CIE-LABlab(69.54, -17.72, 45.12)
CIE-LCHlch(69.54, 48.47, 111.44°)
OKLaboklab(73.13% -0.0508 0.1064)
OKLCHoklch(73.13% 0.118 115.5)
XYZxyz(32.8794, 40.0999, 14.6005)
Luminance0.4010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B155 #6155B1
analogous
#B18F55 #A5B155 #77B155
triadic
#A5B155 #55A5B1 #B155A5
tetradic
#A5B155 #55B18F #6155B1 #B15577
square
#A5B155 #55B18F #6155B1 #B15577
split-complementary
#A5B155 #5577B1 #8F55B1
monochromatic
#59602C #808A3F #A5B155 #BBC47F #D1D7A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B155#FFFFFF#000000##000000
##A5B1551.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)
#BCA94C
Deuteranopia (green-blind)
#BBAB5A
Tritanopia (blue-blind)
#AEA89C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b155;
/* rgb */ color: rgb(165, 177, 85);
/* oklch */ color: oklch(73.1% 0.118 115.5);
Tailwind
colors: {
  custom: {
    50: '#c1c887',
    500: '#a5b155',
    950: '#000000',
  },
}
SCSS
$custom: #a5b155;
$custom-light: #c1c887;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b155",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 67.826,
    "s": 37.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73127,
    "c": 0.1179,
    "h": 115.5
  },
  "luminance": 0.40099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5B155

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

Preview Lab → · Contrast checker → · Palette generator →

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