#AB8F2D#AB8F2D

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

Color values

HEX#AB8F2D
RGBrgb(171, 143, 45)
HSLhsl(47, 58%, 42%)
HSVhsv(47, 74%, 67%)
CMYKcmyk(0%, 16.4%, 73.7%, 32.9%)
CIE-LABlab(60.33, 0.04, 53.22)
CIE-LCHlch(60.33, 53.22, 89.96°)
OKLaboklab(65.81% -0.0051 0.1178)
OKLCHoklch(65.81% 0.118 92.5)
XYZxyz(27.0922, 28.4939, 6.5550)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F2D #2D49AB
analogous
#AB502D #AB8F2D #88AB2D
triadic
#AB8F2D #2DAB8F #8F2DAB
tetradic
#AB8F2D #2DAB50 #2D49AB #AB2D88
square
#AB8F2D #2DAB50 #2D49AB #AB2D88
split-complementary
#AB8F2D #2D88AB #502DAB
monochromatic
#4A3E14 #7B6620 #AB8F2D #CEB047 #DBC577

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8F2D#FFFFFF#000000##000000
##AB8F2D1.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)
#9F8D1E
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#B9837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8f2d;
/* rgb */ color: rgb(171, 143, 45);
/* oklch */ color: oklch(65.8% 0.118 92.5);
Tailwind
colors: {
  custom: {
    50: '#c8af6d',
    500: '#ab8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f2d;
$custom-light: #c8af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f2d",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 46.667,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65813,
    "c": 0.11794,
    "h": 92.5
  },
  "luminance": 0.28492
}

Semantic roles & 50–950 ramp

primary
#AB8F2D
secondary
#7183C3
accent
#69E246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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