#AAB162#AAB162

#AAB162 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.103 H 113.1°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#AAB162
RGBrgb(170, 177, 98)
HSLhsl(65, 34%, 54%)
HSVhsv(65, 45%, 69%)
CMYKcmyk(4%, 0%, 44.6%, 30.6%)
CIE-LABlab(70.09, -14.38, 39.43)
CIE-LCHlch(70.09, 41.97, 110.04°)
OKLaboklab(73.71% -0.0404 0.0948)
OKLCHoklch(73.71% 0.103 113.1)
XYZxyz(34.5048, 40.8727, 17.6244)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB162 #6962B1
analogous
#B19162 #AAB162 #83B162
triadic
#AAB162 #62AAB1 #B162AA
tetradic
#AAB162 #62B191 #6962B1 #B16283
square
#AAB162 #62B191 #6962B1 #B16283
split-complementary
#AAB162 #6283B1 #9162B1
monochromatic
#616633 #888F47 #AAB162 #C0C58B #D6DAB4

Accessibility & contrast

On white

2.29
#AAB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#AAB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB162
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB162#FFFFFF#000000##000000
##AAB1621.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA5B
Deuteranopia (green-blind)
#BBAC66
Tritanopia (blue-blind)
#B3A99E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab162;
/* rgb */ color: rgb(170, 177, 98);
/* oklch */ color: oklch(73.7% 0.103 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c890',
    500: '#aab162',
    950: '#000000',
  },
}
SCSS
$custom: #aab162;
$custom-light: #c5c890;
$custom-dark: #000000;
JSON
{
  "hex": "#aab162",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 65.316,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7371,
    "c": 0.10309,
    "h": 113.1
  },
  "luminance": 0.40872
}

Semantic roles & 50–950 ramp

primary
#AAB162
secondary
#AAA7C8
accent
#5ECA68
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130D
muted
#82827D

Preview Lab

Preview with #AAB162

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

Preview Lab → · Contrast checker → · Palette generator →

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