#AB8D25#AB8D25

#AB8D25 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 65.3% C 0.122 H 91.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AB8D25
RGBrgb(171, 141, 37)
HSLhsl(47, 64%, 41%)
HSVhsv(47, 78%, 67%)
CMYKcmyk(0%, 17.5%, 78.4%, 32.9%)
CIE-LABlab(59.75, 0.78, 55.69)
CIE-LCHlch(59.75, 55.70, 89.19°)
OKLaboklab(65.33% -0.0039 0.1215)
OKLCHoklch(65.33% 0.122 91.8)
XYZxyz(26.6549, 27.8429, 5.7202)
Luminance0.2784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D25 #2543AB
analogous
#AB4A25 #AB8D25 #86AB25
triadic
#AB8D25 #25AB8D #8D25AB
tetradic
#AB8D25 #25AB4A #2543AB #AB2586
square
#AB8D25 #25AB4A #2543AB #AB2586
split-complementary
#AB8D25 #2586AB #4A25AB
monochromatic
#463A0F #79641A #AB8D25 #D4B139 #DFC56B

Accessibility & contrast

On white

3.20
#AB8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AB8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8D25
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8D25#FFFFFF#000000##000000
##AB8D251.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B10
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#B98179
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab8d25;
/* rgb */ color: rgb(171, 141, 37);
/* oklch */ color: oklch(65.3% 0.122 91.8);
Tailwind
colors: {
  custom: {
    50: '#c8ae68',
    500: '#ab8d25',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d25;
$custom-light: #c8ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d25",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 46.567,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65335,
    "c": 0.12151,
    "h": 91.8
  },
  "luminance": 0.27841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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