#AB8F25#AB8F25

#AB8F25 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.8% C 0.123 H 93.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AB8F25
RGBrgb(171, 143, 37)
HSLhsl(47, 64%, 41%)
HSVhsv(47, 78%, 67%)
CMYKcmyk(0%, 16.4%, 78.4%, 32.9%)
CIE-LABlab(60.28, -0.31, 56.19)
CIE-LCHlch(60.28, 56.19, 90.32°)
OKLaboklab(65.76% -0.007 0.1225)
OKLCHoklch(65.76% 0.123 93.3)
XYZxyz(26.9525, 28.4380, 5.8194)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F25 #2541AB
analogous
#AB4C25 #AB8F25 #84AB25
triadic
#AB8F25 #25AB8F #8F25AB
tetradic
#AB8F25 #25AB4C #2541AB #AB2584
square
#AB8F25 #25AB4C #2541AB #AB2584
split-complementary
#AB8F25 #2584AB #4C25AB
monochromatic
#463B0F #79651A #AB8F25 #D4B439 #DFC76B

Accessibility & contrast

On white

3.14
#AB8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#AB8F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8F25
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8F25#FFFFFF#000000##000000
##AB8F251.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D0F
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#B9837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8f25;
/* rgb */ color: rgb(171, 143, 37);
/* oklch */ color: oklch(65.8% 0.123 93.3);
Tailwind
colors: {
  custom: {
    50: '#c8af68',
    500: '#ab8f25',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f25;
$custom-light: #c8af68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f25",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 47.463,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65758,
    "c": 0.1227,
    "h": 93.3
  },
  "luminance": 0.28436
}

Semantic roles & 50–950 ramp

primary
#AB8F25
secondary
#677AC5
accent
#63E740
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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