#AB9E37#AB9E37

#AB9E37 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.1% C 0.123 H 102.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AB9E37
RGBrgb(171, 158, 55)
HSLhsl(53, 51%, 44%)
HSVhsv(53, 68%, 67%)
CMYKcmyk(0%, 7.6%, 67.8%, 32.9%)
CIE-LABlab(64.47, -7.53, 53.29)
CIE-LCHlch(64.47, 53.82, 98.04°)
OKLaboklab(69.12% -0.0256 0.1198)
OKLCHoklch(69.12% 0.123 102.1)
XYZxyz(29.7123, 33.3887, 8.4933)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E37 #3744AB
analogous
#AB6437 #AB9E37 #7EAB37
triadic
#AB9E37 #37AB9E #9E37AB
tetradic
#AB9E37 #37AB64 #3744AB #AB377E
square
#AB9E37 #37AB64 #3744AB #AB377E
split-complementary
#AB9E37 #377EAB #6437AB
monochromatic
#4E4819 #7D7328 #AB9E37 #C9BC56 #D8CE85

Accessibility & contrast

On white

2.74
#AB9E37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AB9E37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9E37
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9E37#FFFFFF#000000##000000
##AB9E371.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9929
Deuteranopia (green-blind)
#B09F3D
Tritanopia (blue-blind)
#B89389
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9e37;
/* rgb */ color: rgb(171, 158, 55);
/* oklch */ color: oklch(69.1% 0.123 102.1);
Tailwind
colors: {
  custom: {
    50: '#c7ba74',
    500: '#ab9e37',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e37;
$custom-light: #c7ba74;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e37",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 55
  },
  "hsl": {
    "h": 53.276,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69117,
    "c": 0.12251,
    "h": 102.1
  },
  "luminance": 0.33387
}

Semantic roles & 50–950 ramp

primary
#AB9E37
secondary
#7C84C1
accent
#5DDB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9E37

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

Preview Lab → · Contrast checker → · Palette generator →

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