#9D801E#9D801E

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

Color values

HEX#9D801E
RGBrgb(157, 128, 30)
HSLhsl(46, 68%, 37%)
HSVhsv(46, 81%, 62%)
CMYKcmyk(0%, 18.5%, 80.9%, 38.4%)
CIE-LABlab(54.76, 1.32, 53.07)
CIE-LCHlch(54.76, 53.09, 88.57°)
OKLaboklab(61.06% -0.0023 0.115)
OKLCHoklch(61.06% 0.115 91.1)
XYZxyz(21.8594, 22.7016, 4.4585)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D801E #1E3B9D
analogous
#9D411E #9D801E #7B9D1E
triadic
#9D801E #1E9D80 #801E9D
tetradic
#9D801E #1E9D41 #1E3B9D #9D1E7B
square
#9D801E #1E9D41 #1E3B9D #9D1E7B
split-complementary
#9D801E #1E7B9D #411E9D
monochromatic
#362C0A #6A5614 #9D801E #D0AA28 #DFC057

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D801E#FFFFFF#000000##000000
##9D801E1.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)
#8F7E06
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#AA756E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d801e;
/* rgb */ color: rgb(157, 128, 30);
/* oklch */ color: oklch(61.1% 0.115 91.1);
Tailwind
colors: {
  custom: {
    50: '#bea463',
    500: '#9d801e',
    950: '#000000',
  },
}
SCSS
$custom: #9d801e;
$custom-light: #bea463;
$custom-dark: #000000;
JSON
{
  "hex": "#9d801e",
  "rgb": {
    "r": 157,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 46.299,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.11504,
    "h": 91.1
  },
  "luminance": 0.227
}

Semantic roles & 50–950 ramp

primary
#9D801E
secondary
#546EC2
accent
#65EB3D
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D801E

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

Preview Lab → · Contrast checker → · Palette generator →

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