#9D891E#9D891E

#9D891E is a light, vivid yellow. Relative luminance 0.252; OKLCH L 63.0% C 0.121 H 97.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9D891E
RGBrgb(157, 137, 30)
HSLhsl(51, 68%, 37%)
HSVhsv(51, 81%, 62%)
CMYKcmyk(0%, 12.7%, 80.9%, 38.4%)
CIE-LABlab(57.23, -3.66, 55.27)
CIE-LCHlch(57.23, 55.39, 93.79°)
OKLaboklab(63% -0.0164 0.1198)
OKLCHoklch(63% 0.121 97.8)
XYZxyz(23.0859, 25.1544, 4.8673)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D891E #1E329D
analogous
#9D4A1E #9D891E #729D1E
triadic
#9D891E #1E9D89 #891E9D
tetradic
#9D891E #1E9D4A #1E329D #9D1E72
square
#9D891E #1E9D4A #1E329D #9D1E72
split-complementary
#9D891E #1E729D #4A1E9D
monochromatic
#362F0A #6A5C14 #9D891E #D0B628 #DFC957

Accessibility & contrast

On white

3.48
#9D891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#9D891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D891E
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D891E#FFFFFF#000000##000000
##9D891E1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988601
Deuteranopia (green-blind)
#9D8C26
Tritanopia (blue-blind)
#AA7E75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d891e;
/* rgb */ color: rgb(157, 137, 30);
/* oklch */ color: oklch(63.0% 0.121 97.8);
Tailwind
colors: {
  custom: {
    50: '#beab64',
    500: '#9d891e',
    950: '#000000',
  },
}
SCSS
$custom: #9d891e;
$custom-light: #beab64;
$custom-dark: #000000;
JSON
{
  "hex": "#9d891e",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 50.551,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63004,
    "c": 0.12088,
    "h": 97.8
  },
  "luminance": 0.25153
}

Semantic roles & 50–950 ramp

primary
#9D891E
secondary
#5466C2
accent
#58EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D891E

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

Preview Lab → · Contrast checker → · Palette generator →

#9D891E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva