#AB9734#AB9734

#AB9734 is a light, moderate yellow. Relative luminance 0.310; OKLCH L 67.6% C 0.119 H 97.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AB9734
RGBrgb(171, 151, 52)
HSLhsl(50, 53%, 44%)
HSVhsv(50, 70%, 67%)
CMYKcmyk(0%, 11.7%, 69.6%, 32.9%)
CIE-LABlab(62.54, -3.95, 52.57)
CIE-LCHlch(62.54, 52.72, 94.30°)
OKLaboklab(67.58% -0.0157 0.1178)
OKLCHoklch(67.58% 0.119 97.6)
XYZxyz(28.4824, 31.0405, 7.7393)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9734 #3448AB
analogous
#AB5B34 #AB9734 #83AB34
triadic
#AB9734 #34AB97 #9734AB
tetradic
#AB9734 #34AB5B #3448AB #AB3483
square
#AB9734 #34AB5B #3448AB #AB3483
split-complementary
#AB9734 #3483AB #5B34AB
monochromatic
#4D4417 #7C6E26 #AB9734 #CAB652 #D9CA81

Accessibility & contrast

On white

2.91
#AB9734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AB9734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9734
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9734#FFFFFF#000000##000000
##AB97341.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69326
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#B88C83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab9734;
/* rgb */ color: rgb(171, 151, 52);
/* oklch */ color: oklch(67.6% 0.119 97.6);
Tailwind
colors: {
  custom: {
    50: '#c7b571',
    500: '#ab9734',
    950: '#000000',
  },
}
SCSS
$custom: #ab9734;
$custom-light: #c7b571;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9734",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 52
  },
  "hsl": {
    "h": 49.916,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67577,
    "c": 0.11881,
    "h": 97.6
  },
  "luminance": 0.31039
}

Semantic roles & 50–950 ramp

primary
#AB9734
secondary
#7985C2
accent
#64DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9734

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

Preview Lab → · Contrast checker → · Palette generator →

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