#AB9D37#AB9D37

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

Color values

HEX#AB9D37
RGBrgb(171, 157, 55)
HSLhsl(53, 51%, 44%)
HSVhsv(53, 68%, 67%)
CMYKcmyk(0%, 8.2%, 67.8%, 32.9%)
CIE-LABlab(64.20, -7.00, 53.01)
CIE-LCHlch(64.20, 53.47, 97.52°)
OKLaboklab(68.9% -0.0241 0.1192)
OKLCHoklch(68.9% 0.122 101.4)
XYZxyz(29.5424, 33.0490, 8.4367)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D37 #3745AB
analogous
#AB6337 #AB9D37 #7FAB37
triadic
#AB9D37 #37AB9D #9D37AB
tetradic
#AB9D37 #37AB63 #3745AB #AB377F
square
#AB9D37 #37AB63 #3745AB #AB377F
split-complementary
#AB9D37 #377FAB #6337AB
monochromatic
#4E4819 #7D7228 #AB9D37 #C9BB56 #D8CE85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9D37#FFFFFF#000000##000000
##AB9D371.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)
#AB9829
Deuteranopia (green-blind)
#AF9E3D
Tritanopia (blue-blind)
#B89288
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9d37;
/* rgb */ color: rgb(171, 157, 55);
/* oklch */ color: oklch(68.9% 0.122 101.4);
Tailwind
colors: {
  custom: {
    50: '#c7b973',
    500: '#ab9d37',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d37;
$custom-light: #c7b973;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d37",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 55
  },
  "hsl": {
    "h": 52.759,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68899,
    "c": 0.12162,
    "h": 101.4
  },
  "luminance": 0.33048
}

Semantic roles & 50–950 ramp

primary
#AB9D37
secondary
#7C85C1
accent
#5EDB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9D37

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

Preview Lab → · Contrast checker → · Palette generator →

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