#AB9536#AB9536

#AB9536 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 67.2% C 0.116 H 96.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AB9536
RGBrgb(171, 149, 54)
HSLhsl(49, 52%, 44%)
HSVhsv(49, 68%, 67%)
CMYKcmyk(0%, 12.9%, 68.4%, 32.9%)
CIE-LABlab(62.02, -2.75, 51.18)
CIE-LCHlch(62.02, 51.25, 93.08°)
OKLaboklab(67.16% -0.0121 0.1152)
OKLCHoklch(67.16% 0.116 96)
XYZxyz(28.2092, 30.4206, 7.8752)
Luminance0.3042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9536 #364CAB
analogous
#AB5B36 #AB9536 #87AB36
triadic
#AB9536 #36AB95 #9536AB
tetradic
#AB9536 #36AB5B #364CAB #AB3687
square
#AB9536 #36AB5B #364CAB #AB3687
split-complementary
#AB9536 #3687AB #5B36AB
monochromatic
#4E4419 #7C6C27 #AB9536 #C9B355 #D8C883

Accessibility & contrast

On white

2.96
#AB9536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AB9536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9536
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9536#FFFFFF#000000##000000
##AB95361.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4922A
Deuteranopia (green-blind)
#AA993B
Tritanopia (blue-blind)
#B88A81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab9536;
/* rgb */ color: rgb(171, 149, 54);
/* oklch */ color: oklch(67.2% 0.116 96.0);
Tailwind
colors: {
  custom: {
    50: '#c7b372',
    500: '#ab9536',
    950: '#000000',
  },
}
SCSS
$custom: #ab9536;
$custom-light: #c7b372;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9536",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 54
  },
  "hsl": {
    "h": 48.718,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67165,
    "c": 0.1158,
    "h": 96
  },
  "luminance": 0.30419
}

Semantic roles & 50–950 ramp

primary
#AB9536
secondary
#7B88C2
accent
#67DB4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9536

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

Preview Lab → · Contrast checker → · Palette generator →

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