#AB8E30#AB8E30

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

Color values

HEX#AB8E30
RGBrgb(171, 142, 48)
HSLhsl(46, 56%, 43%)
HSVhsv(46, 72%, 67%)
CMYKcmyk(0%, 17%, 71.9%, 32.9%)
CIE-LABlab(60.09, 0.74, 51.75)
CIE-LCHlch(60.09, 51.76, 89.18°)
OKLaboklab(65.63% -0.0028 0.1153)
OKLCHoklch(65.63% 0.115 91.4)
XYZxyz(27.0026, 28.2189, 6.8203)
Luminance0.2822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8E30 #304DAB
analogous
#AB5130 #AB8E30 #8AAB30
triadic
#AB8E30 #30AB8E #8E30AB
tetradic
#AB8E30 #30AB51 #304DAB #AB308A
square
#AB8E30 #30AB51 #304DAB #AB308A
split-complementary
#AB8E30 #308AAB #5130AB
monochromatic
#4B3F15 #7B6623 #AB8E30 #CDAE4C #DAC47B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8E30#FFFFFF#000000##000000
##AB8E301.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)
#9E8C23
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#B9827B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8e30;
/* rgb */ color: rgb(171, 142, 48);
/* oklch */ color: oklch(65.6% 0.115 91.4);
Tailwind
colors: {
  custom: {
    50: '#c8ae6e',
    500: '#ab8e30',
    950: '#000000',
  },
}
SCSS
$custom: #ab8e30;
$custom-light: #c8ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8e30",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 45.854,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65626,
    "c": 0.11533,
    "h": 91.4
  },
  "luminance": 0.28217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8E30

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

Preview Lab → · Contrast checker → · Palette generator →

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