#AB8C25#AB8C25

#AB8C25 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 65.1% C 0.121 H 91.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB8C25
RGBrgb(171, 140, 37)
HSLhsl(46, 64%, 41%)
HSVhsv(46, 78%, 67%)
CMYKcmyk(0%, 18.1%, 78.4%, 32.9%)
CIE-LABlab(59.48, 1.33, 55.45)
CIE-LCHlch(59.48, 55.46, 88.62°)
OKLaboklab(65.12% -0.0023 0.1209)
OKLCHoklch(65.12% 0.121 91.1)
XYZxyz(26.5082, 27.5493, 5.6713)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8C25 #2544AB
analogous
#AB4925 #AB8C25 #87AB25
triadic
#AB8C25 #25AB8C #8C25AB
tetradic
#AB8C25 #25AB49 #2544AB #AB2587
square
#AB8C25 #25AB49 #2544AB #AB2587
split-complementary
#AB8C25 #2587AB #4925AB
monochromatic
#463A0F #79631A #AB8C25 #D4B039 #DFC46B

Accessibility & contrast

On white

3.23
#AB8C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AB8C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8C25
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8C25#FFFFFF#000000##000000
##AB8C251.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A10
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#B98078
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab8c25;
/* rgb */ color: rgb(171, 140, 37);
/* oklch */ color: oklch(65.1% 0.121 91.1);
Tailwind
colors: {
  custom: {
    50: '#c8ad68',
    500: '#ab8c25',
    950: '#000000',
  },
}
SCSS
$custom: #ab8c25;
$custom-light: #c8ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8c25",
  "rgb": {
    "r": 171,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 46.119,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65124,
    "c": 0.12094,
    "h": 91.1
  },
  "luminance": 0.27548
}

Semantic roles & 50–950 ramp

primary
#AB8C25
secondary
#677CC5
accent
#67E740
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8C25

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

Preview Lab → · Contrast checker → · Palette generator →

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