#AB9A36#AB9A36

#AB9A36 is a light, moderate yellow. Relative luminance 0.320; OKLCH L 68.2% C 0.120 H 99.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AB9A36
RGBrgb(171, 154, 54)
HSLhsl(51, 52%, 44%)
HSVhsv(51, 68%, 67%)
CMYKcmyk(0%, 9.9%, 68.4%, 32.9%)
CIE-LABlab(63.37, -5.45, 52.58)
CIE-LCHlch(63.37, 52.86, 95.92°)
OKLaboklab(68.24% -0.0198 0.1181)
OKLCHoklch(68.24% 0.12 99.5)
XYZxyz(29.0173, 32.0368, 8.1446)
Luminance0.3204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A36 #3647AB
analogous
#AB6036 #AB9A36 #82AB36
triadic
#AB9A36 #36AB9A #9A36AB
tetradic
#AB9A36 #36AB60 #3647AB #AB3682
square
#AB9A36 #36AB60 #3647AB #AB3682
split-complementary
#AB9A36 #3682AB #6036AB
monochromatic
#4E4619 #7C7027 #AB9A36 #C9B855 #D8CC83

Accessibility & contrast

On white

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

On black

7.41
#AB9A36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9A36
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9A36#FFFFFF#000000##000000
##AB9A361.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99628
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#B88F86
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a36;
/* rgb */ color: rgb(171, 154, 54);
/* oklch */ color: oklch(68.2% 0.120 99.5);
Tailwind
colors: {
  custom: {
    50: '#c7b773',
    500: '#ab9a36',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a36;
$custom-light: #c7b773;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a36",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 54
  },
  "hsl": {
    "h": 51.282,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68241,
    "c": 0.11978,
    "h": 99.5
  },
  "luminance": 0.32035
}

Semantic roles & 50–950 ramp

primary
#AB9A36
secondary
#7B85C2
accent
#61DB4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9A36

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

Preview Lab → · Contrast checker → · Palette generator →

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