#ABB162#ABB162

#ABB162 is a light, moderate yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.103 H 112.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#ABB162
RGBrgb(171, 177, 98)
HSLhsl(65, 34%, 54%)
HSVhsv(65, 45%, 69%)
CMYKcmyk(3.4%, 0%, 44.6%, 30.6%)
CIE-LABlab(70.17, -13.97, 39.54)
CIE-LCHlch(70.17, 41.94, 109.46°)
OKLaboklab(73.79% -0.0393 0.0951)
OKLCHoklch(73.79% 0.103 112.5)
XYZxyz(34.7218, 40.9846, 17.6346)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB162 #6862B1
analogous
#B19062 #ABB162 #84B162
triadic
#ABB162 #62ABB1 #B162AB
tetradic
#ABB162 #62B190 #6862B1 #B16284
square
#ABB162 #62B190 #6862B1 #B16284
split-complementary
#ABB162 #6284B1 #9062B1
monochromatic
#626633 #898F47 #ABB162 #C1C58B #D7DAB4

Accessibility & contrast

On white

2.28
#ABB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#ABB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB162
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB162#FFFFFF#000000##000000
##ABB1621.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abb162;
/* rgb */ color: rgb(171, 177, 98);
/* oklch */ color: oklch(73.8% 0.103 112.5);
Tailwind
colors: {
  custom: {
    50: '#c5c890',
    500: '#abb162',
    950: '#000000',
  },
}
SCSS
$custom: #abb162;
$custom-light: #c5c890;
$custom-dark: #000000;
JSON
{
  "hex": "#abb162",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 64.557,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.73792,
    "c": 0.10288,
    "h": 112.5
  },
  "luminance": 0.40984
}

Semantic roles & 50–950 ramp

primary
#ABB162
secondary
#A9A7C8
accent
#5ECA66
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130D
muted
#82827D

Preview Lab

Preview with #ABB162

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

Preview Lab → · Contrast checker → · Palette generator →

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