#AB9836#AB9836

#AB9836 is a light, moderate yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.118 H 98.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AB9836
RGBrgb(171, 152, 54)
HSLhsl(50, 52%, 44%)
HSVhsv(50, 68%, 67%)
CMYKcmyk(0%, 11.1%, 68.4%, 32.9%)
CIE-LABlab(62.83, -4.38, 52.02)
CIE-LCHlch(62.83, 52.20, 94.81°)
OKLaboklab(67.81% -0.0167 0.117)
OKLCHoklch(67.81% 0.118 98.1)
XYZxyz(28.6900, 31.3821, 8.0355)
Luminance0.3138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9836 #3649AB
analogous
#AB5D36 #AB9836 #84AB36
triadic
#AB9836 #36AB98 #9836AB
tetradic
#AB9836 #36AB5D #3649AB #AB3684
square
#AB9836 #36AB5D #3649AB #AB3684
split-complementary
#AB9836 #3684AB #5D36AB
monochromatic
#4E4519 #7C6F27 #AB9836 #C9B655 #D8CA83

Accessibility & contrast

On white

2.89
#AB9836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AB9836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9836
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9836#FFFFFF#000000##000000
##AB98361.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79429
Deuteranopia (green-blind)
#AC9B3B
Tritanopia (blue-blind)
#B88D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9836;
/* rgb */ color: rgb(171, 152, 54);
/* oklch */ color: oklch(67.8% 0.118 98.1);
Tailwind
colors: {
  custom: {
    50: '#c7b672',
    500: '#ab9836',
    950: '#000000',
  },
}
SCSS
$custom: #ab9836;
$custom-light: #c7b672;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9836",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 54
  },
  "hsl": {
    "h": 50.256,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67809,
    "c": 0.11814,
    "h": 98.1
  },
  "luminance": 0.31381
}

Semantic roles & 50–950 ramp

primary
#AB9836
secondary
#7B87C2
accent
#64DB4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9836

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

Preview Lab → · Contrast checker → · Palette generator →

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