#AB9B38#AB9B38

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

Color values

HEX#AB9B38
RGBrgb(171, 155, 56)
HSLhsl(52, 51%, 45%)
HSVhsv(52, 67%, 67%)
CMYKcmyk(0%, 9.4%, 67.3%, 32.9%)
CIE-LABlab(63.66, -5.87, 52.03)
CIE-LCHlch(63.66, 52.36, 96.44°)
OKLaboklab(68.47% -0.0207 0.1173)
OKLCHoklch(68.47% 0.119 100)
XYZxyz(29.2310, 32.3874, 8.4523)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B38 #3848AB
analogous
#AB6238 #AB9B38 #82AB38
triadic
#AB9B38 #38AB9B #9B38AB
tetradic
#AB9B38 #38AB62 #3848AB #AB3882
square
#AB9B38 #38AB62 #3848AB #AB3882
split-complementary
#AB9B38 #3882AB #6238AB
monochromatic
#4F471A #7D7129 #AB9B38 #C8B958 #D7CC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9B38#FFFFFF#000000##000000
##AB9B381.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)
#A9972B
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#B89087
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b38;
/* rgb */ color: rgb(171, 155, 56);
/* oklch */ color: oklch(68.5% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#c7b874',
    500: '#ab9b38',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b38;
$custom-light: #c7b874;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b38",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 56
  },
  "hsl": {
    "h": 51.652,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68474,
    "c": 0.11913,
    "h": 100
  },
  "luminance": 0.32386
}

Semantic roles & 50–950 ramp

primary
#AB9B38
secondary
#7D87C1
accent
#61DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9B38

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

Preview Lab → · Contrast checker → · Palette generator →

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