#9A881D#9A881D

#9A881D is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.5% C 0.121 H 99.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9A881D
RGBrgb(154, 136, 29)
HSLhsl(51, 68%, 36%)
HSVhsv(51, 81%, 60%)
CMYKcmyk(0%, 11.7%, 81.2%, 39.6%)
CIE-LABlab(56.65, -4.53, 54.97)
CIE-LCHlch(56.65, 55.16, 94.71°)
OKLaboklab(62.48% -0.0188 0.1191)
OKLCHoklch(62.48% 0.121 99)
XYZxyz(22.3535, 24.5682, 4.7269)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A881D #1D2F9A
analogous
#9A491D #9A881D #6D9A1D
triadic
#9A881D #1D9A88 #881D9A
tetradic
#9A881D #1D9A49 #1D2F9A #9A1D6D
square
#9A881D #1D9A49 #1D2F9A #9A1D6D
split-complementary
#9A881D #1D6D9A #491D9A
monochromatic
#332D0A #665B13 #9A881D #CEB527 #DFCA53

Accessibility & contrast

On white

3.55
#9A881D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#9A881D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A881D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A881D#FFFFFF#000000##000000
##9A881D1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#A77D74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a881d;
/* rgb */ color: rgb(154, 136, 29);
/* oklch */ color: oklch(62.5% 0.121 99.0);
Tailwind
colors: {
  custom: {
    50: '#bcaa63',
    500: '#9a881d',
    950: '#000000',
  },
}
SCSS
$custom: #9a881d;
$custom-light: #bcaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#9a881d",
  "rgb": {
    "r": 154,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 51.36,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6248,
    "c": 0.12054,
    "h": 99
  },
  "luminance": 0.24567
}

Semantic roles & 50–950 ramp

primary
#9A881D
secondary
#5161C2
accent
#56EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A881D

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

Preview Lab → · Contrast checker → · Palette generator →

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