#AB9F2D#AB9F2D

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

Color values

HEX#AB9F2D
RGBrgb(171, 159, 45)
HSLhsl(54, 58%, 42%)
HSVhsv(54, 74%, 67%)
CMYKcmyk(0%, 7%, 73.7%, 32.9%)
CIE-LABlab(64.68, -8.59, 57.44)
CIE-LCHlch(64.68, 58.07, 98.50°)
OKLaboklab(69.26% -0.0296 0.1268)
OKLCHoklch(69.26% 0.13 103.2)
XYZxyz(29.6677, 33.6449, 7.4135)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9F2D #2D39AB
analogous
#AB602D #AB9F2D #78AB2D
triadic
#AB9F2D #2DAB9F #9F2DAB
tetradic
#AB9F2D #2DAB60 #2D39AB #AB2D78
square
#AB9F2D #2DAB60 #2D39AB #AB2D78
split-complementary
#AB9F2D #2D78AB #602DAB
monochromatic
#4A4514 #7B7220 #AB9F2D #CEC247 #DBD277

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9F2D#FFFFFF#000000##000000
##AB9F2D1.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)
#AE9A18
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#B89489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9f2d;
/* rgb */ color: rgb(171, 159, 45);
/* oklch */ color: oklch(69.3% 0.130 103.2);
Tailwind
colors: {
  custom: {
    50: '#c8bb6e',
    500: '#ab9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab9f2d;
$custom-light: #c8bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9f2d",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 54.286,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69258,
    "c": 0.13018,
    "h": 103.2
  },
  "luminance": 0.33644
}

Semantic roles & 50–950 ramp

primary
#AB9F2D
secondary
#7178C3
accent
#55E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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