#AB9D36#AB9D36

#AB9D36 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.9% C 0.122 H 101.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#AB9D36
RGBrgb(171, 157, 54)
HSLhsl(53, 52%, 44%)
HSVhsv(53, 68%, 67%)
CMYKcmyk(0%, 8.2%, 68.4%, 32.9%)
CIE-LABlab(64.19, -7.06, 53.42)
CIE-LCHlch(64.19, 53.89, 97.53°)
OKLaboklab(68.89% -0.0243 0.1199)
OKLCHoklch(68.89% 0.122 101.5)
XYZxyz(29.5187, 33.0395, 8.3117)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D36 #3644AB
analogous
#AB6336 #AB9D36 #7FAB36
triadic
#AB9D36 #36AB9D #9D36AB
tetradic
#AB9D36 #36AB63 #3644AB #AB367F
square
#AB9D36 #36AB63 #3644AB #AB367F
split-complementary
#AB9D36 #367FAB #6336AB
monochromatic
#4E4819 #7C7227 #AB9D36 #C9BB55 #D8CE83

Accessibility & contrast

On white

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

On black

7.61
#AB9D36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D36
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D36#FFFFFF#000000##000000
##AB9D361.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9828
Deuteranopia (green-blind)
#AF9E3C
Tritanopia (blue-blind)
#B89288
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9d36;
/* rgb */ color: rgb(171, 157, 54);
/* oklch */ color: oklch(68.9% 0.122 101.5);
Tailwind
colors: {
  custom: {
    50: '#c7b973',
    500: '#ab9d36',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d36;
$custom-light: #c7b973;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d36",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 54
  },
  "hsl": {
    "h": 52.821,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68891,
    "c": 0.12236,
    "h": 101.5
  },
  "luminance": 0.33038
}

Semantic roles & 50–950 ramp

primary
#AB9D36
secondary
#7B84C2
accent
#5DDB4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9D36

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

Preview Lab → · Contrast checker → · Palette generator →

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