#9D811D#9D811D

#9D811D is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.116 H 92.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9D811D
RGBrgb(157, 129, 29)
HSLhsl(47, 69%, 36%)
HSVhsv(47, 82%, 62%)
CMYKcmyk(0%, 17.8%, 81.5%, 38.4%)
CIE-LABlab(55.03, 0.73, 53.65)
CIE-LCHlch(55.03, 53.65, 89.22°)
OKLaboklab(61.27% -0.0041 0.116)
OKLCHoklch(61.27% 0.116 92)
XYZxyz(21.9780, 22.9587, 4.4360)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D811D #1D399D
analogous
#9D411D #9D811D #799D1D
triadic
#9D811D #1D9D81 #811D9D
tetradic
#9D811D #1D9D41 #1D399D #9D1D79
square
#9D811D #1D9D41 #1D399D #9D1D79
split-complementary
#9D811D #1D799D #411D9D
monochromatic
#362C0A #695713 #9D811D #D1AB27 #E0C155

Accessibility & contrast

On white

3.76
#9D811D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#9D811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D811D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D811D#FFFFFF#000000##000000
##9D811D1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#AA766E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9d811d;
/* rgb */ color: rgb(157, 129, 29);
/* oklch */ color: oklch(61.3% 0.116 92.0);
Tailwind
colors: {
  custom: {
    50: '#bea563',
    500: '#9d811d',
    950: '#000000',
  },
}
SCSS
$custom: #9d811d;
$custom-light: #bea563;
$custom-dark: #000000;
JSON
{
  "hex": "#9d811d",
  "rgb": {
    "r": 157,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 46.875,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61266,
    "c": 0.11611,
    "h": 92
  },
  "luminance": 0.22957
}

Semantic roles & 50–950 ramp

primary
#9D811D
secondary
#536BC3
accent
#63EC3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D811D

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

Preview Lab → · Contrast checker → · Palette generator →

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