#AB8F2E#AB8F2E

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

Color values

HEX#AB8F2E
RGBrgb(171, 143, 46)
HSLhsl(47, 58%, 43%)
HSVhsv(47, 73%, 67%)
CMYKcmyk(0%, 16.4%, 73.1%, 32.9%)
CIE-LABlab(60.34, 0.09, 52.83)
CIE-LCHlch(60.34, 52.83, 89.90°)
OKLaboklab(65.82% -0.0049 0.1172)
OKLCHoklch(65.82% 0.117 92.4)
XYZxyz(27.1117, 28.5017, 6.6576)
Luminance0.2850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F2E #2E4AAB
analogous
#AB502E #AB8F2E #89AB2E
triadic
#AB8F2E #2EAB8F #8F2EAB
tetradic
#AB8F2E #2EAB50 #2E4AAB #AB2E89
square
#AB8F2E #2EAB50 #2E4AAB #AB2E89
split-complementary
#AB8F2E #2E89AB #502EAB
monochromatic
#4B3E14 #7B6721 #AB8F2E #CEB048 #DBC579

Accessibility & contrast

On white

3.13
#AB8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8F2E#FFFFFF#000000##000000
##AB8F2E1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1F
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#B9837C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8f2e;
/* rgb */ color: rgb(171, 143, 46);
/* oklch */ color: oklch(65.8% 0.117 92.4);
Tailwind
colors: {
  custom: {
    50: '#c8af6d',
    500: '#ab8f2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f2e;
$custom-light: #c8af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f2e",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 46.56,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.11729,
    "h": 92.4
  },
  "luminance": 0.285
}

Semantic roles & 50–950 ramp

primary
#AB8F2E
secondary
#7284C3
accent
#69E147
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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