#9D811E#9D811E

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

Color values

HEX#9D811E
RGBrgb(157, 129, 30)
HSLhsl(47, 68%, 37%)
HSVhsv(47, 81%, 62%)
CMYKcmyk(0%, 17.8%, 80.9%, 38.4%)
CIE-LABlab(55.03, 0.77, 53.31)
CIE-LCHlch(55.03, 53.32, 89.18°)
OKLaboklab(61.27% -0.0039 0.1155)
OKLCHoklch(61.27% 0.116 91.9)
XYZxyz(21.9905, 22.9637, 4.5022)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D811E #1E3A9D
analogous
#9D421E #9D811E #7A9D1E
triadic
#9D811E #1E9D81 #811E9D
tetradic
#9D811E #1E9D42 #1E3A9D #9D1E7A
square
#9D811E #1E9D42 #1E3A9D #9D1E7A
split-complementary
#9D811E #1E7A9D #421E9D
monochromatic
#362D0A #6A5714 #9D811E #D0AB28 #DFC157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D811E#FFFFFF#000000##000000
##9D811E1.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)
#907F06
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#AA766E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9d811e;
/* rgb */ color: rgb(157, 129, 30);
/* oklch */ color: oklch(61.3% 0.116 91.9);
Tailwind
colors: {
  custom: {
    50: '#bea563',
    500: '#9d811e',
    950: '#000000',
  },
}
SCSS
$custom: #9d811e;
$custom-light: #bea563;
$custom-dark: #000000;
JSON
{
  "hex": "#9d811e",
  "rgb": {
    "r": 157,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 46.772,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61272,
    "c": 0.11561,
    "h": 91.9
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#9D811E
secondary
#546DC2
accent
#63EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D811E

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

Preview Lab → · Contrast checker → · Palette generator →

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