#AB9127#AB9127

#AB9127 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.2% C 0.123 H 94.5°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB9127
RGBrgb(171, 145, 39)
HSLhsl(48, 63%, 41%)
HSVhsv(48, 77%, 67%)
CMYKcmyk(0%, 15.2%, 77.2%, 32.9%)
CIE-LABlab(60.83, -1.32, 55.98)
CIE-LCHlch(60.83, 56.00, 91.35°)
OKLaboklab(66.2% -0.0097 0.1225)
OKLCHoklch(66.2% 0.123 94.5)
XYZxyz(27.2877, 29.0568, 6.0903)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9127 #2741AB
analogous
#AB4F27 #AB9127 #83AB27
triadic
#AB9127 #27AB91 #9127AB
tetradic
#AB9127 #27AB4F #2741AB #AB2783
square
#AB9127 #27AB4F #2741AB #AB2783
split-complementary
#AB9127 #2783AB #4F27AB
monochromatic
#473C10 #79671C #AB9127 #D3B53D #DEC86E

Accessibility & contrast

On white

3.08
#AB9127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#AB9127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9127
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9127#FFFFFF#000000##000000
##AB91271.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E12
Deuteranopia (green-blind)
#A7962E
Tritanopia (blue-blind)
#B9857D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab9127;
/* rgb */ color: rgb(171, 145, 39);
/* oklch */ color: oklch(66.2% 0.123 94.5);
Tailwind
colors: {
  custom: {
    50: '#c8b06a',
    500: '#ab9127',
    950: '#000000',
  },
}
SCSS
$custom: #ab9127;
$custom-light: #c8b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9127",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 39
  },
  "hsl": {
    "h": 48.182,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66195,
    "c": 0.12286,
    "h": 94.5
  },
  "luminance": 0.29055
}

Semantic roles & 50–950 ramp

primary
#AB9127
secondary
#697BC5
accent
#62E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB9127

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

Preview Lab → · Contrast checker → · Palette generator →

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