#AB9837#AB9837

#AB9837 is a light, moderate yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.117 H 98.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AB9837
RGBrgb(171, 152, 55)
HSLhsl(50, 51%, 44%)
HSVhsv(50, 68%, 67%)
CMYKcmyk(0%, 11.1%, 67.8%, 32.9%)
CIE-LABlab(62.84, -4.32, 51.60)
CIE-LCHlch(62.84, 51.78, 94.78°)
OKLaboklab(67.82% -0.0164 0.1162)
OKLCHoklch(67.82% 0.117 98.1)
XYZxyz(28.7137, 31.3916, 8.1604)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9837 #374AAB
analogous
#AB5E37 #AB9837 #84AB37
triadic
#AB9837 #37AB98 #9837AB
tetradic
#AB9837 #37AB5E #374AAB #AB3784
square
#AB9837 #37AB5E #374AAB #AB3784
split-complementary
#AB9837 #3784AB #5E37AB
monochromatic
#4E4619 #7D6F28 #AB9837 #C9B656 #D8CA85

Accessibility & contrast

On white

2.89
#AB9837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AB9837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9837
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9837#FFFFFF#000000##000000
##AB98371.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7942A
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#B88D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9837;
/* rgb */ color: rgb(171, 152, 55);
/* oklch */ color: oklch(67.8% 0.117 98.1);
Tailwind
colors: {
  custom: {
    50: '#c7b673',
    500: '#ab9837',
    950: '#000000',
  },
}
SCSS
$custom: #ab9837;
$custom-light: #c7b673;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9837",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 55
  },
  "hsl": {
    "h": 50.172,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67818,
    "c": 0.11739,
    "h": 98.1
  },
  "luminance": 0.3139
}

Semantic roles & 50–950 ramp

primary
#AB9837
secondary
#7C88C1
accent
#64DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9837

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

Preview Lab → · Contrast checker → · Palette generator →

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