#AB9F41#AB9F41

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

Color values

HEX#AB9F41
RGBrgb(171, 159, 65)
HSLhsl(53, 45%, 46%)
HSVhsv(53, 62%, 67%)
CMYKcmyk(0%, 7%, 62%, 32.9%)
CIE-LABlab(64.83, -7.43, 49.30)
CIE-LCHlch(64.83, 49.86, 98.57°)
OKLaboklab(69.43% -0.0241 0.1129)
OKLCHoklch(69.43% 0.115 102.1)
XYZxyz(30.1480, 33.8370, 9.9432)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9F41 #414DAB
analogous
#AB6A41 #AB9F41 #82AB41
triadic
#AB9F41 #41AB9F #9F41AB
tetradic
#AB9F41 #41AB6A #414DAB #AB4182
square
#AB9F41 #41AB6A #414DAB #AB4182
split-complementary
#AB9F41 #4182AB #6A41AB
monochromatic
#524D1F #7F7630 #AB9F41 #C4BA65 #D5CE91

Accessibility & contrast

On white

2.70
#AB9F41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AB9F41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9F41
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9F41#FFFFFF#000000##000000
##AB9F411.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A36
Deuteranopia (green-blind)
#B0A046
Tritanopia (blue-blind)
#B7958B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9f41;
/* rgb */ color: rgb(171, 159, 65);
/* oklch */ color: oklch(69.4% 0.115 102.1);
Tailwind
colors: {
  custom: {
    50: '#c7bb7a',
    500: '#ab9f41',
    950: '#000000',
  },
}
SCSS
$custom: #ab9f41;
$custom-light: #c7bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9f41",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 65
  },
  "hsl": {
    "h": 53.208,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69429,
    "c": 0.11547,
    "h": 102.1
  },
  "luminance": 0.33836
}

Semantic roles & 50–950 ramp

primary
#AB9F41
secondary
#878EC1
accent
#62D553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9F41

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

Preview Lab → · Contrast checker → · Palette generator →

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