#AB9F3D#AB9F3D

#AB9F3D is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.4% C 0.119 H 102.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#AB9F3D
RGBrgb(171, 159, 61)
HSLhsl(53, 47%, 45%)
HSVhsv(53, 64%, 67%)
CMYKcmyk(0%, 7%, 64.3%, 32.9%)
CIE-LABlab(64.80, -7.70, 51.06)
CIE-LCHlch(64.80, 51.63, 98.57°)
OKLaboklab(69.39% -0.0254 0.116)
OKLCHoklch(69.39% 0.119 102.3)
XYZxyz(30.0362, 33.7923, 9.3544)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9F3D #3D49AB
analogous
#AB683D #AB9F3D #80AB3D
triadic
#AB9F3D #3DAB9F #9F3DAB
tetradic
#AB9F3D #3DAB68 #3D49AB #AB3D80
square
#AB9F3D #3DAB68 #3D49AB #AB3D80
split-complementary
#AB9F3D #3D80AB #683DAB
monochromatic
#514B1D #7E752D #AB9F3D #C6BB5F #D6CE8C

Accessibility & contrast

On white

2.71
#AB9F3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#AB9F3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9F3D
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9F3D#FFFFFF#000000##000000
##AB9F3D1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A31
Deuteranopia (green-blind)
#B1A042
Tritanopia (blue-blind)
#B7948A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9f3d;
/* rgb */ color: rgb(171, 159, 61);
/* oklch */ color: oklch(69.4% 0.119 102.3);
Tailwind
colors: {
  custom: {
    50: '#c7bb77',
    500: '#ab9f3d',
    950: '#000000',
  },
}
SCSS
$custom: #ab9f3d;
$custom-light: #c7bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9f3d",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 61
  },
  "hsl": {
    "h": 53.455,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69389,
    "c": 0.11878,
    "h": 102.3
  },
  "luminance": 0.33791
}

Semantic roles & 50–950 ramp

primary
#AB9F3D
secondary
#838AC1
accent
#5FD751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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