#AB9738#AB9738

#AB9738 is a light, moderate yellow. Relative luminance 0.311; OKLCH L 67.6% C 0.116 H 97.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AB9738
RGBrgb(171, 151, 56)
HSLhsl(50, 51%, 45%)
HSVhsv(50, 67%, 67%)
CMYKcmyk(0%, 11.7%, 67.3%, 32.9%)
CIE-LABlab(62.57, -3.72, 50.90)
CIE-LCHlch(62.57, 51.03, 94.18°)
OKLaboklab(67.61% -0.0146 0.1149)
OKLCHoklch(67.61% 0.116 97.2)
XYZxyz(28.5763, 31.0781, 8.2341)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9738 #384CAB
analogous
#AB5D38 #AB9738 #86AB38
triadic
#AB9738 #38AB97 #9738AB
tetradic
#AB9738 #38AB5D #384CAB #AB3886
square
#AB9738 #38AB5D #384CAB #AB3886
split-complementary
#AB9738 #3886AB #5D38AB
monochromatic
#4F461A #7D6E29 #AB9738 #C8B558 #D7C986

Accessibility & contrast

On white

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

On black

7.22
#AB9738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9738
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9738#FFFFFF#000000##000000
##AB97381.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab9738;
/* rgb */ color: rgb(171, 151, 56);
/* oklch */ color: oklch(67.6% 0.116 97.2);
Tailwind
colors: {
  custom: {
    50: '#c7b574',
    500: '#ab9738',
    950: '#000000',
  },
}
SCSS
$custom: #ab9738;
$custom-light: #c7b574;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9738",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 56
  },
  "hsl": {
    "h": 49.565,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67612,
    "c": 0.11584,
    "h": 97.2
  },
  "luminance": 0.31077
}

Semantic roles & 50–950 ramp

primary
#AB9738
secondary
#7D89C1
accent
#66DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9738

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

Preview Lab → · Contrast checker → · Palette generator →

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