#AB9D3D#AB9D3D

#AB9D3D is a light, moderate yellow. Relative luminance 0.331; OKLCH L 69.0% C 0.117 H 101.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#AB9D3D
RGBrgb(171, 157, 61)
HSLhsl(52, 47%, 45%)
HSVhsv(52, 64%, 67%)
CMYKcmyk(0%, 8.2%, 64.3%, 32.9%)
CIE-LABlab(64.25, -6.63, 50.47)
CIE-LCHlch(64.25, 50.90, 97.48°)
OKLaboklab(68.95% -0.0223 0.1148)
OKLCHoklch(68.95% 0.117 101)
XYZxyz(29.6951, 33.1100, 9.2407)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D3D #3D4BAB
analogous
#AB663D #AB9D3D #82AB3D
triadic
#AB9D3D #3DAB9D #9D3DAB
tetradic
#AB9D3D #3DAB66 #3D4BAB #AB3D82
square
#AB9D3D #3DAB66 #3D4BAB #AB3D82
split-complementary
#AB9D3D #3D82AB #663DAB
monochromatic
#514A1D #7E742D #AB9D3D #C6B95F #D6CD8C

Accessibility & contrast

On white

2.76
#AB9D3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#AB9D3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D3D
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D3D#FFFFFF#000000##000000
##AB9D3D1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9931
Deuteranopia (green-blind)
#AF9E42
Tritanopia (blue-blind)
#B89289
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9d3d;
/* rgb */ color: rgb(171, 157, 61);
/* oklch */ color: oklch(69.0% 0.117 101.0);
Tailwind
colors: {
  custom: {
    50: '#c7b977',
    500: '#ab9d3d',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d3d;
$custom-light: #c7b977;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d3d",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 61
  },
  "hsl": {
    "h": 52.364,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68954,
    "c": 0.11696,
    "h": 101
  },
  "luminance": 0.33109
}

Semantic roles & 50–950 ramp

primary
#AB9D3D
secondary
#838BC1
accent
#62D751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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