#AB9C2E#AB9C2E

#AB9C2E is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.6% C 0.127 H 101.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#AB9C2E
RGBrgb(171, 156, 46)
HSLhsl(53, 58%, 43%)
HSVhsv(53, 73%, 67%)
CMYKcmyk(0%, 8.8%, 73.1%, 32.9%)
CIE-LABlab(63.86, -6.94, 56.27)
CIE-LCHlch(63.86, 56.70, 97.03°)
OKLaboklab(68.61% -0.0249 0.1245)
OKLCHoklch(68.61% 0.127 101.3)
XYZxyz(29.1775, 32.6334, 7.3462)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C2E #2E3DAB
analogous
#AB5D2E #AB9C2E #7CAB2E
triadic
#AB9C2E #2EAB9C #9C2EAB
tetradic
#AB9C2E #2EAB5D #2E3DAB #AB2E7C
square
#AB9C2E #2EAB5D #2E3DAB #AB2E7C
split-complementary
#AB9C2E #2E7CAB #5D2EAB
monochromatic
#4B4414 #7B7021 #AB9C2E #CEBE48 #DBCF79

Accessibility & contrast

On white

2.79
#AB9C2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AB9C2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9C2E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9C2E#FFFFFF#000000##000000
##AB9C2E1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971B
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#B89186
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c2e;
/* rgb */ color: rgb(171, 156, 46);
/* oklch */ color: oklch(68.6% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#c8b86e',
    500: '#ab9c2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c2e;
$custom-light: #c8b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c2e",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 52.8,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68611,
    "c": 0.12696,
    "h": 101.3
  },
  "luminance": 0.32632
}

Semantic roles & 50–950 ramp

primary
#AB9C2E
secondary
#727CC3
accent
#59E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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