#AB9F37#AB9F37

#AB9F37 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.3% C 0.123 H 102.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AB9F37
RGBrgb(171, 159, 55)
HSLhsl(54, 51%, 44%)
HSVhsv(54, 68%, 67%)
CMYKcmyk(0%, 7%, 67.8%, 32.9%)
CIE-LABlab(64.75, -8.06, 53.58)
CIE-LCHlch(64.75, 54.18, 98.56°)
OKLaboklab(69.34% -0.0271 0.1204)
OKLCHoklch(69.34% 0.123 102.7)
XYZxyz(29.8835, 33.7313, 8.5504)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9F37 #3743AB
analogous
#AB6537 #AB9F37 #7DAB37
triadic
#AB9F37 #37AB9F #9F37AB
tetradic
#AB9F37 #37AB65 #3743AB #AB377D
square
#AB9F37 #37AB65 #3743AB #AB377D
split-complementary
#AB9F37 #377DAB #6537AB
monochromatic
#4E4919 #7D7428 #AB9F37 #C9BD56 #D8CF85

Accessibility & contrast

On white

2.71
#AB9F37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AB9F37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9F37
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9F37#FFFFFF#000000##000000
##AB9F371.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A29
Deuteranopia (green-blind)
#B19F3D
Tritanopia (blue-blind)
#B8948A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9f37;
/* rgb */ color: rgb(171, 159, 55);
/* oklch */ color: oklch(69.3% 0.123 102.7);
Tailwind
colors: {
  custom: {
    50: '#c7bb74',
    500: '#ab9f37',
    950: '#000000',
  },
}
SCSS
$custom: #ab9f37;
$custom-light: #c7bb74;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9f37",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 55
  },
  "hsl": {
    "h": 53.793,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69335,
    "c": 0.12342,
    "h": 102.7
  },
  "luminance": 0.3373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB9F37

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

Preview Lab → · Contrast checker → · Palette generator →

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