#AB8F36#AB8F36

#AB8F36 is a light, moderate yellow. Relative luminance 0.286; OKLCH L 65.9% C 0.112 H 91.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AB8F36
RGBrgb(171, 143, 54)
HSLhsl(46, 52%, 44%)
HSVhsv(46, 68%, 67%)
CMYKcmyk(0%, 16.4%, 68.4%, 32.9%)
CIE-LABlab(60.40, 0.52, 49.50)
CIE-LCHlch(60.40, 49.50, 89.40°)
OKLaboklab(65.89% -0.0027 0.1116)
OKLCHoklch(65.89% 0.112 91.4)
XYZxyz(27.2843, 28.5708, 7.5669)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F36 #3652AB
analogous
#AB5536 #AB8F36 #8DAB36
triadic
#AB8F36 #36AB8F #8F36AB
tetradic
#AB8F36 #36AB55 #3652AB #AB368D
square
#AB8F36 #36AB55 #3652AB #AB368D
split-complementary
#AB8F36 #368DAB #5536AB
monochromatic
#4E4119 #7C6827 #AB8F36 #C9AD55 #D8C483

Accessibility & contrast

On white

3.13
#AB8F36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#AB8F36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8F36
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8F36#FFFFFF#000000##000000
##AB8F361.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D2B
Deuteranopia (green-blind)
#A5953A
Tritanopia (blue-blind)
#B9847C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab8f36;
/* rgb */ color: rgb(171, 143, 54);
/* oklch */ color: oklch(65.9% 0.112 91.4);
Tailwind
colors: {
  custom: {
    50: '#c7af72',
    500: '#ab8f36',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f36;
$custom-light: #c7af72;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f36",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 54
  },
  "hsl": {
    "h": 45.641,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.65889,
    "c": 0.11164,
    "h": 91.4
  },
  "luminance": 0.28569
}

Semantic roles & 50–950 ramp

primary
#AB8F36
secondary
#7B8CC2
accent
#6FDB4C
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AB8F36

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

Preview Lab → · Contrast checker → · Palette generator →

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