#A5B162#A5B162

#A5B162 is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.3% C 0.104 H 116.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A5B162
RGBrgb(165, 177, 98)
HSLhsl(69, 34%, 54%)
HSVhsv(69, 45%, 69%)
CMYKcmyk(6.8%, 0%, 44.6%, 30.6%)
CIE-LABlab(69.70, -16.41, 38.87)
CIE-LCHlch(69.70, 42.19, 112.89°)
OKLaboklab(73.31% -0.0459 0.0936)
OKLCHoklch(73.31% 0.104 116.1)
XYZxyz(33.4441, 40.3258, 17.5747)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B162 #6E62B1
analogous
#B19662 #A5B162 #7EB162
triadic
#A5B162 #62A5B1 #B162A5
tetradic
#A5B162 #62B196 #6E62B1 #B1627E
square
#A5B162 #62B196 #6E62B1 #B1627E
split-complementary
#A5B162 #627EB1 #9662B1
monochromatic
#5E6633 #848F47 #A5B162 #BCC58B #D4DAB4

Accessibility & contrast

On white

2.32
#A5B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A5B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B162
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B162#FFFFFF#000000##000000
##A5B1621.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA5C
Deuteranopia (green-blind)
#BAAB66
Tritanopia (blue-blind)
#ADA99E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b162;
/* rgb */ color: rgb(165, 177, 98);
/* oklch */ color: oklch(73.3% 0.104 116.1);
Tailwind
colors: {
  custom: {
    50: '#c1c890',
    500: '#a5b162',
    950: '#000000',
  },
}
SCSS
$custom: #a5b162;
$custom-light: #c1c890;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b162",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 69.114,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.73307,
    "c": 0.10429,
    "h": 116.1
  },
  "luminance": 0.40325
}

Semantic roles & 50–950 ramp

primary
#A5B162
secondary
#ACA7C8
accent
#5ECA6E
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#12130D
muted
#81827D

Preview Lab

Preview with #A5B162

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

Preview Lab → · Contrast checker → · Palette generator →

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