#AB8F2C#AB8F2C

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

Color values

HEX#AB8F2C
RGBrgb(171, 143, 44)
HSLhsl(47, 59%, 42%)
HSVhsv(47, 74%, 67%)
CMYKcmyk(0%, 16.4%, 74.3%, 32.9%)
CIE-LABlab(60.33, -0.01, 53.61)
CIE-LCHlch(60.33, 53.61, 90.01°)
OKLaboklab(65.81% -0.0054 0.1185)
OKLCHoklch(65.81% 0.119 92.6)
XYZxyz(27.0732, 28.4863, 6.4548)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F2C #2C48AB
analogous
#AB502C #AB8F2C #87AB2C
triadic
#AB8F2C #2CAB8F #8F2CAB
tetradic
#AB8F2C #2CAB50 #2C48AB #AB2C87
square
#AB8F2C #2CAB50 #2C48AB #AB2C87
split-complementary
#AB8F2C #2C87AB #502CAB
monochromatic
#4A3E13 #7A661F #AB8F2C #CFB145 #DCC576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #ab8f2c;
/* rgb */ color: rgb(171, 143, 44);
/* oklch */ color: oklch(65.8% 0.119 92.6);
Tailwind
colors: {
  custom: {
    50: '#c8af6c',
    500: '#ab8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f2c;
$custom-light: #c8af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f2c",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 46.772,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65806,
    "c": 0.11858,
    "h": 92.6
  },
  "luminance": 0.28485
}

Semantic roles & 50–950 ramp

primary
#AB8F2C
secondary
#6F82C3
accent
#68E246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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