#AB9C36#AB9C36

#AB9C36 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.7% C 0.121 H 100.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#AB9C36
RGBrgb(171, 156, 54)
HSLhsl(52, 52%, 44%)
HSVhsv(52, 68%, 67%)
CMYKcmyk(0%, 8.8%, 68.4%, 32.9%)
CIE-LABlab(63.92, -6.52, 53.14)
CIE-LCHlch(63.92, 53.54, 97.00°)
OKLaboklab(68.67% -0.0228 0.1193)
OKLCHoklch(68.67% 0.121 100.8)
XYZxyz(29.3502, 32.7025, 8.2555)
Luminance0.3270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C36 #3645AB
analogous
#AB6236 #AB9C36 #80AB36
triadic
#AB9C36 #36AB9C #9C36AB
tetradic
#AB9C36 #36AB62 #3645AB #AB3680
square
#AB9C36 #36AB62 #3645AB #AB3680
split-complementary
#AB9C36 #3680AB #6236AB
monochromatic
#4E4719 #7C7227 #AB9C36 #C9BA55 #D8CD83

Accessibility & contrast

On white

2.79
#AB9C36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#AB9C36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9C36
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9C36#FFFFFF#000000##000000
##AB9C361.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9728
Deuteranopia (green-blind)
#AF9D3C
Tritanopia (blue-blind)
#B89187
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c36;
/* rgb */ color: rgb(171, 156, 54);
/* oklch */ color: oklch(68.7% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#c7b873',
    500: '#ab9c36',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c36;
$custom-light: #c7b873;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c36",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 54
  },
  "hsl": {
    "h": 52.308,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68674,
    "c": 0.12149,
    "h": 100.8
  },
  "luminance": 0.32701
}

Semantic roles & 50–950 ramp

primary
#AB9C36
secondary
#7B84C2
accent
#5FDB4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9C36

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

Preview Lab → · Contrast checker → · Palette generator →

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