#AB9B37#AB9B37

#AB9B37 is a light, moderate yellow. Relative luminance 0.324; OKLCH L 68.5% C 0.120 H 100.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AB9B37
RGBrgb(171, 155, 55)
HSLhsl(52, 51%, 44%)
HSVhsv(52, 68%, 67%)
CMYKcmyk(0%, 9.4%, 67.8%, 32.9%)
CIE-LABlab(63.65, -5.93, 52.45)
CIE-LCHlch(63.65, 52.78, 96.45°)
OKLaboklab(68.47% -0.021 0.118)
OKLCHoklch(68.47% 0.12 100.1)
XYZxyz(29.2068, 32.3778, 8.3248)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B37 #3747AB
analogous
#AB6137 #AB9B37 #81AB37
triadic
#AB9B37 #37AB9B #9B37AB
tetradic
#AB9B37 #37AB61 #3747AB #AB3781
square
#AB9B37 #37AB61 #3747AB #AB3781
split-complementary
#AB9B37 #3781AB #6137AB
monochromatic
#4E4719 #7D7128 #AB9B37 #C9B956 #D8CC85

Accessibility & contrast

On white

2.81
#AB9B37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#AB9B37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B37
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B37#FFFFFF#000000##000000
##AB9B371.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972A
Deuteranopia (green-blind)
#AE9D3D
Tritanopia (blue-blind)
#B89086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b37;
/* rgb */ color: rgb(171, 155, 55);
/* oklch */ color: oklch(68.5% 0.120 100.1);
Tailwind
colors: {
  custom: {
    50: '#c7b873',
    500: '#ab9b37',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b37;
$custom-light: #c7b873;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b37",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 55
  },
  "hsl": {
    "h": 51.724,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68466,
    "c": 0.11988,
    "h": 100.1
  },
  "luminance": 0.32376
}

Semantic roles & 50–950 ramp

primary
#AB9B37
secondary
#7C86C1
accent
#61DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9B37

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

Preview Lab → · Contrast checker → · Palette generator →

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