#AB8F2A#AB8F2A

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

Color values

HEX#AB8F2A
RGBrgb(171, 143, 42)
HSLhsl(47, 61%, 42%)
HSVhsv(47, 75%, 67%)
CMYKcmyk(0%, 16.4%, 75.4%, 32.9%)
CIE-LABlab(60.31, -0.10, 54.38)
CIE-LCHlch(60.31, 54.38, 90.11°)
OKLaboklab(65.79% -0.0059 0.1197)
OKLCHoklch(65.79% 0.12 92.8)
XYZxyz(27.0365, 28.4716, 6.2616)
Luminance0.2847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F2A #2A46AB
analogous
#AB4F2A #AB8F2A #87AB2A
triadic
#AB8F2A #2AAB8F #8F2AAB
tetradic
#AB8F2A #2AAB4F #2A46AB #AB2A87
square
#AB8F2A #2AAB4F #2A46AB #AB2A87
split-complementary
#AB8F2A #2A87AB #4F2AAB
monochromatic
#493D12 #7A661E #AB8F2A #D1B242 #DDC673

Accessibility & contrast

On white

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

On black

6.69
#AB8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8F2A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8F2A#FFFFFF#000000##000000
##AB8F2A1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab8f2a;
/* rgb */ color: rgb(171, 143, 42);
/* oklch */ color: oklch(65.8% 0.120 92.8);
Tailwind
colors: {
  custom: {
    50: '#c8af6b',
    500: '#ab8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f2a;
$custom-light: #c8af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f2a",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 46.977,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65791,
    "c": 0.11982,
    "h": 92.8
  },
  "luminance": 0.2847
}

Semantic roles & 50–950 ramp

primary
#AB8F2A
secondary
#6D80C4
accent
#67E444
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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