#AB8B25#AB8B25

#AB8B25 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.9% C 0.120 H 90.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AB8B25
RGBrgb(171, 139, 37)
HSLhsl(46, 64%, 41%)
HSVhsv(46, 78%, 67%)
CMYKcmyk(0%, 18.7%, 78.4%, 32.9%)
CIE-LABlab(59.21, 1.88, 55.20)
CIE-LCHlch(59.21, 55.23, 88.04°)
OKLaboklab(64.91% -0.0008 0.1204)
OKLCHoklch(64.91% 0.12 90.4)
XYZxyz(26.3627, 27.2584, 5.6228)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8B25 #2545AB
analogous
#AB4825 #AB8B25 #88AB25
triadic
#AB8B25 #25AB8B #8B25AB
tetradic
#AB8B25 #25AB48 #2545AB #AB2588
square
#AB8B25 #25AB48 #2545AB #AB2588
split-complementary
#AB8B25 #2588AB #4825AB
monochromatic
#46390F #79621A #AB8B25 #D4AF39 #DFC36B

Accessibility & contrast

On white

3.26
#AB8B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#AB8B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8B25
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8B25#FFFFFF#000000##000000
##AB8B251.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8911
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#BA7F77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab8b25;
/* rgb */ color: rgb(171, 139, 37);
/* oklch */ color: oklch(64.9% 0.120 90.4);
Tailwind
colors: {
  custom: {
    50: '#c8ac68',
    500: '#ab8b25',
    950: '#000000',
  },
}
SCSS
$custom: #ab8b25;
$custom-light: #c8ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8b25",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 45.672,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64914,
    "c": 0.12039,
    "h": 90.4
  },
  "luminance": 0.27257
}

Semantic roles & 50–950 ramp

primary
#AB8B25
secondary
#677DC5
accent
#68E740
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8B25

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

Preview Lab → · Contrast checker → · Palette generator →

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