#9D881E#9D881E

#9D881E is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.8% C 0.120 H 97.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9D881E
RGBrgb(157, 136, 30)
HSLhsl(50, 68%, 37%)
HSVhsv(50, 81%, 62%)
CMYKcmyk(0%, 13.4%, 80.9%, 38.4%)
CIE-LABlab(56.95, -3.11, 55.02)
CIE-LCHlch(56.95, 55.11, 93.24°)
OKLaboklab(62.79% -0.0149 0.1192)
OKLCHoklch(62.79% 0.12 97.1)
XYZxyz(22.9444, 24.8714, 4.8202)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D881E #1E339D
analogous
#9D491E #9D881E #739D1E
triadic
#9D881E #1E9D88 #881E9D
tetradic
#9D881E #1E9D49 #1E339D #9D1E73
square
#9D881E #1E9D49 #1E339D #9D1E73
split-complementary
#9D881E #1E739D #491E9D
monochromatic
#362F0A #6A5B14 #9D881E #D0B528 #DFC857

Accessibility & contrast

On white

3.52
#9D881E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9D881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D881E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D881E#FFFFFF#000000##000000
##9D881E1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978502
Deuteranopia (green-blind)
#9C8C26
Tritanopia (blue-blind)
#AA7D74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d881e;
/* rgb */ color: rgb(157, 136, 30);
/* oklch */ color: oklch(62.8% 0.120 97.1);
Tailwind
colors: {
  custom: {
    50: '#beaa64',
    500: '#9d881e',
    950: '#000000',
  },
}
SCSS
$custom: #9d881e;
$custom-light: #beaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#9d881e",
  "rgb": {
    "r": 157,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 50.079,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62786,
    "c": 0.12016,
    "h": 97.1
  },
  "luminance": 0.2487
}

Semantic roles & 50–950 ramp

primary
#9D881E
secondary
#5467C2
accent
#5AEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D881E

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

Preview Lab → · Contrast checker → · Palette generator →

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