#AB9A2E#AB9A2E

#AB9A2E is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.2% C 0.125 H 100.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#AB9A2E
RGBrgb(171, 154, 46)
HSLhsl(52, 58%, 43%)
HSVhsv(52, 73%, 67%)
CMYKcmyk(0%, 9.9%, 73.1%, 32.9%)
CIE-LABlab(63.32, -5.88, 55.74)
CIE-LCHlch(63.32, 56.05, 96.02°)
OKLaboklab(68.18% -0.0219 0.1234)
OKLCHoklch(68.18% 0.125 100.1)
XYZxyz(28.8447, 31.9677, 7.2353)
Luminance0.3197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A2E #2E3FAB
analogous
#AB5B2E #AB9A2E #7EAB2E
triadic
#AB9A2E #2EAB9A #9A2EAB
tetradic
#AB9A2E #2EAB5B #2E3FAB #AB2E7E
square
#AB9A2E #2EAB5B #2E3FAB #AB2E7E
split-complementary
#AB9A2E #2E7EAB #5B2EAB
monochromatic
#4B4314 #7B6F21 #AB9A2E #CEBC48 #DBCD79

Accessibility & contrast

On white

2.84
#AB9A2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#AB9A2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9A2E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9A2E#FFFFFF#000000##000000
##AB9A2E1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961C
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a2e;
/* rgb */ color: rgb(171, 154, 46);
/* oklch */ color: oklch(68.2% 0.125 100.1);
Tailwind
colors: {
  custom: {
    50: '#c8b76e',
    500: '#ab9a2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a2e;
$custom-light: #c8b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a2e",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 51.84,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68177,
    "c": 0.1253,
    "h": 100.1
  },
  "luminance": 0.31966
}

Semantic roles & 50–950 ramp

primary
#AB9A2E
secondary
#727DC3
accent
#5CE147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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