#AB9E2D#AB9E2D

#AB9E2D is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.0% C 0.129 H 102.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AB9E2D
RGBrgb(171, 158, 45)
HSLhsl(54, 58%, 42%)
HSVhsv(54, 74%, 67%)
CMYKcmyk(0%, 7.6%, 73.7%, 32.9%)
CIE-LABlab(64.41, -8.06, 57.17)
CIE-LCHlch(64.41, 57.74, 98.02°)
OKLaboklab(69.04% -0.0281 0.1262)
OKLCHoklch(69.04% 0.129 102.6)
XYZxyz(29.4964, 33.3024, 7.3564)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E2D #2D3AAB
analogous
#AB5F2D #AB9E2D #79AB2D
triadic
#AB9E2D #2DAB9E #9E2DAB
tetradic
#AB9E2D #2DAB5F #2D3AAB #AB2D79
square
#AB9E2D #2DAB5F #2D3AAB #AB2D79
split-complementary
#AB9E2D #2D79AB #5F2DAB
monochromatic
#4A4414 #7B7120 #AB9E2D #CEC047 #DBD177

Accessibility & contrast

On white

2.74
#AB9E2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#AB9E2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9E2D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9E2D#FFFFFF#000000##000000
##AB9E2D1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9919
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#B89388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9e2d;
/* rgb */ color: rgb(171, 158, 45);
/* oklch */ color: oklch(69.0% 0.129 102.6);
Tailwind
colors: {
  custom: {
    50: '#c8ba6e',
    500: '#ab9e2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e2d;
$custom-light: #c8ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e2d",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 53.81,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6904,
    "c": 0.1293,
    "h": 102.6
  },
  "luminance": 0.33301
}

Semantic roles & 50–950 ramp

primary
#AB9E2D
secondary
#7179C3
accent
#56E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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