#AB9B3C#AB9B3C

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

Color values

HEX#AB9B3C
RGBrgb(171, 155, 60)
HSLhsl(51, 48%, 45%)
HSVhsv(51, 65%, 67%)
CMYKcmyk(0%, 9.4%, 64.9%, 32.9%)
CIE-LABlab(63.70, -5.62, 50.32)
CIE-LCHlch(63.70, 50.64, 96.38°)
OKLaboklab(68.51% -0.0196 0.1143)
OKLCHoklch(68.51% 0.116 99.7)
XYZxyz(29.3328, 32.4281, 8.9883)
Luminance0.3243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B3C #3C4CAB
analogous
#AB633C #AB9B3C #84AB3C
triadic
#AB9B3C #3CAB9B #9B3CAB
tetradic
#AB9B3C #3CAB63 #3C4CAB #AB3C84
square
#AB9B3C #3CAB63 #3C4CAB #AB3C84
split-complementary
#AB9B3C #3C84AB #633CAB
monochromatic
#50491C #7E722C #AB9B3C #C6B75E #D6CB8B

Accessibility & contrast

On white

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

On black

7.49
#AB9B3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B3C
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B3C#FFFFFF#000000##000000
##AB9B3C1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99731
Deuteranopia (green-blind)
#AE9D41
Tritanopia (blue-blind)
#B89087
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b3c;
/* rgb */ color: rgb(171, 155, 60);
/* oklch */ color: oklch(68.5% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#c7b876',
    500: '#ab9b3c',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b3c;
$custom-light: #c7b876;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b3c",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 60
  },
  "hsl": {
    "h": 51.351,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68512,
    "c": 0.116,
    "h": 99.7
  },
  "luminance": 0.32427
}

Semantic roles & 50–950 ramp

primary
#AB9B3C
secondary
#828BC1
accent
#64D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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