#9D7E1D#9D7E1D

#9D7E1D is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.6% C 0.114 H 89.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9D7E1D
RGBrgb(157, 126, 29)
HSLhsl(45, 69%, 36%)
HSVhsv(45, 82%, 62%)
CMYKcmyk(0%, 19.7%, 81.5%, 38.4%)
CIE-LABlab(54.22, 2.41, 52.92)
CIE-LCHlch(54.22, 52.98, 87.39°)
OKLaboklab(60.63% 0.0007 0.1145)
OKLCHoklch(60.63% 0.114 89.7)
XYZxyz(21.5886, 22.1799, 4.3062)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7E1D #1D3C9D
analogous
#9D3E1D #9D7E1D #7C9D1D
triadic
#9D7E1D #1D9D7E #7E1D9D
tetradic
#9D7E1D #1D9D3E #1D3C9D #9D1D7C
square
#9D7E1D #1D9D3E #1D3C9D #9D1D7C
split-complementary
#9D7E1D #1D7C9D #3E1D9D
monochromatic
#362B0A #695513 #9D7E1D #D1A727 #E0BE55

Accessibility & contrast

On white

3.86
#9D7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9D7E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7E1D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7E1D#FFFFFF#000000##000000
##9D7E1D1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D05
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#AB726C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9d7e1d;
/* rgb */ color: rgb(157, 126, 29);
/* oklch */ color: oklch(60.6% 0.114 89.7);
Tailwind
colors: {
  custom: {
    50: '#bea362',
    500: '#9d7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #9d7e1d;
$custom-light: #bea362;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7e1d",
  "rgb": {
    "r": 157,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 45.469,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60626,
    "c": 0.11448,
    "h": 89.7
  },
  "luminance": 0.22179
}

Semantic roles & 50–950 ramp

primary
#9D7E1D
secondary
#536EC3
accent
#67EC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9D7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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