#AB9F2C#AB9F2C

#AB9F2C is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.3% C 0.131 H 103.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#AB9F2C
RGBrgb(171, 159, 44)
HSLhsl(54, 59%, 42%)
HSVhsv(54, 74%, 67%)
CMYKcmyk(0%, 7%, 74.3%, 32.9%)
CIE-LABlab(64.67, -8.63, 57.79)
CIE-LCHlch(64.67, 58.44, 98.50°)
OKLaboklab(69.25% -0.0299 0.1273)
OKLCHoklch(69.25% 0.131 103.2)
XYZxyz(29.6487, 33.6373, 7.3133)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9F2C #2C38AB
analogous
#AB602C #AB9F2C #77AB2C
triadic
#AB9F2C #2CAB9F #9F2CAB
tetradic
#AB9F2C #2CAB60 #2C38AB #AB2C77
square
#AB9F2C #2CAB60 #2C38AB #AB2C77
split-complementary
#AB9F2C #2C77AB #602CAB
monochromatic
#4A4413 #7A721F #AB9F2C #CFC245 #DCD276

Accessibility & contrast

On white

2.72
#AB9F2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#AB9F2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9F2C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9F2C#FFFFFF#000000##000000
##AB9F2C1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A16
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#B89489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9f2c;
/* rgb */ color: rgb(171, 159, 44);
/* oklch */ color: oklch(69.3% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#c8bb6e',
    500: '#ab9f2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab9f2c;
$custom-light: #c8bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9f2c",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 54.331,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69251,
    "c": 0.13079,
    "h": 103.2
  },
  "luminance": 0.33636
}

Semantic roles & 50–950 ramp

primary
#AB9F2C
secondary
#6F77C3
accent
#54E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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