#9D801D#9D801D

#9D801D is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.1% C 0.116 H 91.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9D801D
RGBrgb(157, 128, 29)
HSLhsl(46, 69%, 36%)
HSVhsv(46, 82%, 62%)
CMYKcmyk(0%, 18.5%, 81.5%, 38.4%)
CIE-LABlab(54.76, 1.29, 53.41)
CIE-LCHlch(54.76, 53.42, 88.62°)
OKLaboklab(61.05% -0.0025 0.1155)
OKLCHoklch(61.05% 0.116 91.2)
XYZxyz(21.8469, 22.6965, 4.3923)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D801D #1D3A9D
analogous
#9D401D #9D801D #7A9D1D
triadic
#9D801D #1D9D80 #801D9D
tetradic
#9D801D #1D9D40 #1D3A9D #9D1D7A
square
#9D801D #1D9D40 #1D3A9D #9D1D7A
split-complementary
#9D801D #1D7A9D #401D9D
monochromatic
#362C0A #695613 #9D801D #D1AA27 #E0C055

Accessibility & contrast

On white

3.79
#9D801D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9D801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D801D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D801D#FFFFFF#000000##000000
##9D801D1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#AA756E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d801d;
/* rgb */ color: rgb(157, 128, 29);
/* oklch */ color: oklch(61.1% 0.116 91.2);
Tailwind
colors: {
  custom: {
    50: '#bea462',
    500: '#9d801d',
    950: '#000000',
  },
}
SCSS
$custom: #9d801d;
$custom-light: #bea462;
$custom-dark: #000000;
JSON
{
  "hex": "#9d801d",
  "rgb": {
    "r": 157,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 46.406,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.11555,
    "h": 91.2
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#9D801D
secondary
#536CC3
accent
#64EC3C
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D801D

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

Preview Lab → · Contrast checker → · Palette generator →

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