#A5B166#A5B166

#A5B166 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.4% C 0.100 H 116.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A5B166
RGBrgb(165, 177, 102)
HSLhsl(70, 32%, 55%)
HSVhsv(70, 42%, 69%)
CMYKcmyk(6.8%, 0%, 42.4%, 30.6%)
CIE-LABlab(69.76, -15.97, 36.89)
CIE-LCHlch(69.76, 40.20, 113.40°)
OKLaboklab(73.37% -0.0443 0.0895)
OKLCHoklch(73.37% 0.1 116.4)
XYZxyz(33.6377, 40.4032, 18.5944)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B166 #7266B1
analogous
#B19866 #A5B166 #80B166
triadic
#A5B166 #66A5B1 #B166A5
tetradic
#A5B166 #66B198 #7266B1 #B16680
square
#A5B166 #66B198 #7266B1 #B16680
split-complementary
#A5B166 #6680B1 #9866B1
monochromatic
#606835 #85904A #A5B166 #BDC68F #D5DAB7

Accessibility & contrast

On white

2.31
#A5B166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A5B166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B166
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B166#FFFFFF#000000##000000
##A5B1661.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAA60
Deuteranopia (green-blind)
#B9AB6A
Tritanopia (blue-blind)
#ACA99F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b166;
/* rgb */ color: rgb(165, 177, 102);
/* oklch */ color: oklch(73.4% 0.100 116.4);
Tailwind
colors: {
  custom: {
    50: '#c1c893',
    500: '#a5b166',
    950: '#000000',
  },
}
SCSS
$custom: #a5b166;
$custom-light: #c1c893;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b166",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 102
  },
  "hsl": {
    "h": 69.6,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.73369,
    "c": 0.09984,
    "h": 116.4
  },
  "luminance": 0.40403
}

Semantic roles & 50–950 ramp

primary
#A5B166
secondary
#AFAAC9
accent
#5FC970
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#12130D
muted
#81827E

Preview Lab

Preview with #A5B166

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

Preview Lab → · Contrast checker → · Palette generator →

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