#AB8F2B#AB8F2B

#AB8F2B is a light, moderate yellow. Relative luminance 0.285; OKLCH L 65.8% C 0.119 H 92.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AB8F2B
RGBrgb(171, 143, 43)
HSLhsl(47, 60%, 42%)
HSVhsv(47, 75%, 67%)
CMYKcmyk(0%, 16.4%, 74.9%, 32.9%)
CIE-LABlab(60.32, -0.06, 54.00)
CIE-LCHlch(60.32, 54.00, 90.06°)
OKLaboklab(65.8% -0.0056 0.1191)
OKLCHoklch(65.8% 0.119 92.7)
XYZxyz(27.0546, 28.4789, 6.3570)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F2B #2B47AB
analogous
#AB4F2B #AB8F2B #87AB2B
triadic
#AB8F2B #2BAB8F #8F2BAB
tetradic
#AB8F2B #2BAB4F #2B47AB #AB2B87
square
#AB8F2B #2BAB4F #2B47AB #AB2B87
split-complementary
#AB8F2B #2B87AB #4F2BAB
monochromatic
#493D12 #7A661F #AB8F2B #D0B143 #DCC574

Accessibility & contrast

On white

3.14
#AB8F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#AB8F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8F2B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8F2B#FFFFFF#000000##000000
##AB8F2B1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1A
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#B9837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8f2b;
/* rgb */ color: rgb(171, 143, 43);
/* oklch */ color: oklch(65.8% 0.119 92.7);
Tailwind
colors: {
  custom: {
    50: '#c8af6b',
    500: '#ab8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f2b;
$custom-light: #c8af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f2b",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 46.875,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65798,
    "c": 0.11921,
    "h": 92.7
  },
  "luminance": 0.28477
}

Semantic roles & 50–950 ramp

primary
#AB8F2B
secondary
#6E81C4
accent
#67E345
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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