#AB8D30#AB8D30

#AB8D30 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.4% C 0.115 H 90.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AB8D30
RGBrgb(171, 141, 48)
HSLhsl(45, 56%, 43%)
HSVhsv(45, 72%, 67%)
CMYKcmyk(0%, 17.5%, 71.9%, 32.9%)
CIE-LABlab(59.82, 1.29, 51.49)
CIE-LCHlch(59.82, 51.50, 88.57°)
OKLaboklab(65.42% -0.0012 0.1147)
OKLCHoklch(65.42% 0.115 90.6)
XYZxyz(26.8544, 27.9227, 6.7709)
Luminance0.2792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D30 #304EAB
analogous
#AB5030 #AB8D30 #8BAB30
triadic
#AB8D30 #30AB8D #8D30AB
tetradic
#AB8D30 #30AB50 #304EAB #AB308B
square
#AB8D30 #30AB50 #304EAB #AB308B
split-complementary
#AB8D30 #308BAB #5030AB
monochromatic
#4B3E15 #7B6623 #AB8D30 #CDAD4C #DAC37B

Accessibility & contrast

On white

3.19
#AB8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#AB8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8D30
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8D30#FFFFFF#000000##000000
##AB8D301.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B23
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#B9817A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab8d30;
/* rgb */ color: rgb(171, 141, 48);
/* oklch */ color: oklch(65.4% 0.115 90.6);
Tailwind
colors: {
  custom: {
    50: '#c8ae6e',
    500: '#ab8d30',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d30;
$custom-light: #c8ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d30",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 45.366,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65415,
    "c": 0.11474,
    "h": 90.6
  },
  "luminance": 0.27921
}

Semantic roles & 50–950 ramp

primary
#AB8D30
secondary
#7487C3
accent
#6DDF48
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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