#AB9237#AB9237

#AB9237 is a light, moderate yellow. Relative luminance 0.295; OKLCH L 66.5% C 0.113 H 93.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AB9237
RGBrgb(171, 146, 55)
HSLhsl(47, 51%, 44%)
HSVhsv(47, 68%, 67%)
CMYKcmyk(0%, 14.6%, 67.8%, 32.9%)
CIE-LABlab(61.21, -1.06, 49.91)
CIE-LCHlch(61.21, 49.92, 91.22°)
OKLaboklab(66.53% -0.0071 0.1127)
OKLCHoklch(66.53% 0.113 93.6)
XYZxyz(27.7644, 29.4930, 7.8440)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9237 #3750AB
analogous
#AB5837 #AB9237 #8AAB37
triadic
#AB9237 #37AB92 #9237AB
tetradic
#AB9237 #37AB58 #3750AB #AB378A
square
#AB9237 #37AB58 #3750AB #AB378A
split-complementary
#AB9237 #378AAB #5837AB
monochromatic
#4E4319 #7D6A28 #AB9237 #C9B056 #D8C685

Accessibility & contrast

On white

3.04
#AB9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AB9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9237
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9237#FFFFFF#000000##000000
##AB92371.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2C
Deuteranopia (green-blind)
#A7973C
Tritanopia (blue-blind)
#B9877F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab9237;
/* rgb */ color: rgb(171, 146, 55);
/* oklch */ color: oklch(66.5% 0.113 93.6);
Tailwind
colors: {
  custom: {
    50: '#c7b173',
    500: '#ab9237',
    950: '#000000',
  },
}
SCSS
$custom: #ab9237;
$custom-light: #c7b173;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9237",
  "rgb": {
    "r": 171,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 47.069,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66534,
    "c": 0.11287,
    "h": 93.6
  },
  "luminance": 0.29492
}

Semantic roles & 50–950 ramp

primary
#AB9237
secondary
#7C8BC1
accent
#6CDB4D
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#131008
muted
#827F7B

Preview Lab

Preview with #AB9237

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

Preview Lab → · Contrast checker → · Palette generator →

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