#AB8E2F#AB8E2F

#AB8E2F is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.6% C 0.116 H 91.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AB8E2F
RGBrgb(171, 142, 47)
HSLhsl(46, 57%, 43%)
HSVhsv(46, 73%, 67%)
CMYKcmyk(0%, 17%, 72.5%, 32.9%)
CIE-LABlab(60.08, 0.69, 52.16)
CIE-LCHlch(60.08, 52.17, 89.25°)
OKLaboklab(65.62% -0.0031 0.116)
OKLCHoklch(65.62% 0.116 91.5)
XYZxyz(26.9822, 28.2108, 6.7128)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8E2F #2F4CAB
analogous
#AB502F #AB8E2F #8AAB2F
triadic
#AB8E2F #2FAB8E #8E2FAB
tetradic
#AB8E2F #2FAB50 #2F4CAB #AB2F8A
square
#AB8E2F #2FAB50 #2F4CAB #AB2F8A
split-complementary
#AB8E2F #2F8AAB #502FAB
monochromatic
#4B3E15 #7B6622 #AB8E2F #CDAF4A #DAC47A

Accessibility & contrast

On white

3.16
#AB8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AB8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8E2F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8E2F#FFFFFF#000000##000000
##AB8E2F1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C21
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#B9827B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8e2f;
/* rgb */ color: rgb(171, 142, 47);
/* oklch */ color: oklch(65.6% 0.116 91.5);
Tailwind
colors: {
  custom: {
    50: '#c8ae6e',
    500: '#ab8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #ab8e2f;
$custom-light: #c8ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8e2f",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 45.968,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65617,
    "c": 0.11601,
    "h": 91.5
  },
  "luminance": 0.28209
}

Semantic roles & 50–950 ramp

primary
#AB8E2F
secondary
#7386C3
accent
#6BE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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