#AB9D2E#AB9D2E

#AB9D2E is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.8% C 0.128 H 101.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AB9D2E
RGBrgb(171, 157, 46)
HSLhsl(53, 58%, 43%)
HSVhsv(53, 73%, 67%)
CMYKcmyk(0%, 8.2%, 73.1%, 32.9%)
CIE-LABlab(64.14, -7.48, 56.54)
CIE-LCHlch(64.14, 57.03, 97.53°)
OKLaboklab(68.83% -0.0264 0.1251)
OKLCHoklch(68.83% 0.128 101.9)
XYZxyz(29.3460, 32.9704, 7.4024)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D2E #2E3CAB
analogous
#AB5E2E #AB9D2E #7BAB2E
triadic
#AB9D2E #2EAB9D #9D2EAB
tetradic
#AB9D2E #2EAB5E #2E3CAB #AB2E7B
square
#AB9D2E #2EAB5E #2E3CAB #AB2E7B
split-complementary
#AB9D2E #2E7BAB #5E2EAB
monochromatic
#4B4414 #7B7121 #AB9D2E #CEBF48 #DBD079

Accessibility & contrast

On white

2.77
#AB9D2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#AB9D2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D2E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D2E#FFFFFF#000000##000000
##AB9D2E1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981B
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#B89287
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9d2e;
/* rgb */ color: rgb(171, 157, 46);
/* oklch */ color: oklch(68.8% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#c8b96f',
    500: '#ab9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d2e;
$custom-light: #c8b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d2e",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 53.28,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68829,
    "c": 0.12781,
    "h": 101.9
  },
  "luminance": 0.32969
}

Semantic roles & 50–950 ramp

primary
#AB9D2E
secondary
#727BC3
accent
#58E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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