#AB8F33#AB8F33

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

Color values

HEX#AB8F33
RGBrgb(171, 143, 51)
HSLhsl(46, 54%, 44%)
HSVhsv(46, 70%, 67%)
CMYKcmyk(0%, 16.4%, 70.2%, 32.9%)
CIE-LABlab(60.38, 0.35, 50.78)
CIE-LCHlch(60.38, 50.78, 89.61°)
OKLaboklab(65.86% -0.0035 0.1138)
OKLCHoklch(65.86% 0.114 91.8)
XYZxyz(27.2160, 28.5434, 7.2072)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F33 #334FAB
analogous
#AB5333 #AB8F33 #8BAB33
triadic
#AB8F33 #33AB8F #8F33AB
tetradic
#AB8F33 #33AB53 #334FAB #AB338B
square
#AB8F33 #33AB53 #334FAB #AB338B
split-complementary
#AB8F33 #338BAB #5333AB
monochromatic
#4D4017 #7C6825 #AB8F33 #CBAE50 #D9C47F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8F33#FFFFFF#000000##000000
##AB8F331.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)
#9F8D27
Deuteranopia (green-blind)
#A59538
Tritanopia (blue-blind)
#B9837C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab8f33;
/* rgb */ color: rgb(171, 143, 51);
/* oklch */ color: oklch(65.9% 0.114 91.8);
Tailwind
colors: {
  custom: {
    50: '#c8af70',
    500: '#ab8f33',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f33;
$custom-light: #c8af70;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f33",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 46,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65862,
    "c": 0.11386,
    "h": 91.8
  },
  "luminance": 0.28542
}

Semantic roles & 50–950 ramp

primary
#AB8F33
secondary
#7889C2
accent
#6DDD4A
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AB8F33

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

Preview Lab → · Contrast checker → · Palette generator →

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