#9A8D1D#9A8D1D

#9A8D1D is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.125 H 102.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9A8D1D
RGBrgb(154, 141, 29)
HSLhsl(54, 68%, 36%)
HSVhsv(54, 81%, 60%)
CMYKcmyk(0%, 8.4%, 81.2%, 39.6%)
CIE-LABlab(58.05, -7.25, 56.20)
CIE-LCHlch(58.05, 56.67, 97.35°)
OKLaboklab(63.59% -0.0265 0.1217)
OKLCHoklch(63.59% 0.125 102.3)
XYZxyz(23.0742, 26.0095, 4.9671)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D1D #1D2A9A
analogous
#9A4E1D #9A8D1D #689A1D
triadic
#9A8D1D #1D9A8D #8D1D9A
tetradic
#9A8D1D #1D9A4E #1D2A9A #9A1D68
square
#9A8D1D #1D9A4E #1D2A9A #9A1D68
split-complementary
#9A8D1D #1D689A #4E1D9A
monochromatic
#332F0A #665E13 #9A8D1D #CEBC27 #DFD053

Accessibility & contrast

On white

3.39
#9A8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9A8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8D1D
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8D1D#FFFFFF#000000##000000
##9A8D1D1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9F8E26
Tritanopia (blue-blind)
#A68278
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9a8d1d;
/* rgb */ color: rgb(154, 141, 29);
/* oklch */ color: oklch(63.6% 0.125 102.3);
Tailwind
colors: {
  custom: {
    50: '#bcae64',
    500: '#9a8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d1d;
$custom-light: #bcae64;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d1d",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 53.76,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63586,
    "c": 0.12456,
    "h": 102.3
  },
  "luminance": 0.26008
}

Semantic roles & 50–950 ramp

primary
#9A8D1D
secondary
#515DC2
accent
#4FEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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