#AB8E2B#AB8E2B

#AB8E2B is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.6% C 0.119 H 92.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AB8E2B
RGBrgb(171, 142, 43)
HSLhsl(46, 60%, 42%)
HSVhsv(46, 75%, 67%)
CMYKcmyk(0%, 17%, 74.9%, 32.9%)
CIE-LABlab(60.05, 0.49, 53.74)
CIE-LCHlch(60.05, 53.74, 89.48°)
OKLaboklab(65.59% -0.0041 0.1185)
OKLCHoklch(65.59% 0.119 92)
XYZxyz(26.9051, 28.1800, 6.3072)
Luminance0.2818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8E2B #2B48AB
analogous
#AB4E2B #AB8E2B #88AB2B
triadic
#AB8E2B #2BAB8E #8E2BAB
tetradic
#AB8E2B #2BAB4E #2B48AB #AB2B88
square
#AB8E2B #2BAB4E #2B48AB #AB2B88
split-complementary
#AB8E2B #2B88AB #4E2BAB
monochromatic
#493D12 #7A651F #AB8E2B #D0B043 #DCC574

Accessibility & contrast

On white

3.16
#AB8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AB8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8E2B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8E2B#FFFFFF#000000##000000
##AB8E2B1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1B
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#B9827A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8e2b;
/* rgb */ color: rgb(171, 142, 43);
/* oklch */ color: oklch(65.6% 0.119 92.0);
Tailwind
colors: {
  custom: {
    50: '#c8ae6b',
    500: '#ab8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab8e2b;
$custom-light: #c8ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8e2b",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 46.406,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65587,
    "c": 0.1186,
    "h": 92
  },
  "luminance": 0.28178
}

Semantic roles & 50–950 ramp

primary
#AB8E2B
secondary
#6E82C4
accent
#69E345
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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