#9D8733#9D8733

#9D8733 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.7% C 0.106 H 94.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9D8733
RGBrgb(157, 135, 51)
HSLhsl(48, 51%, 41%)
HSVhsv(48, 68%, 62%)
CMYKcmyk(0%, 14%, 67.5%, 38.4%)
CIE-LABlab(56.82, -1.54, 46.65)
CIE-LCHlch(56.82, 46.67, 91.89°)
OKLaboklab(62.73% -0.0081 0.1055)
OKLCHoklch(62.73% 0.106 94.4)
XYZxyz(23.1673, 24.7363, 6.6856)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8733 #33499D
analogous
#9D5233 #9D8733 #7E9D33
triadic
#9D8733 #339D87 #87339D
tetradic
#9D8733 #339D52 #33499D #9D337E
square
#9D8733 #339D52 #33499D #9D337E
split-complementary
#9D8733 #337E9D #52339D
monochromatic
#413815 #6F5F24 #9D8733 #C4AA49 #D3C077

Accessibility & contrast

On white

3.53
#9D8733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9D8733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8733
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8733#FFFFFF#000000##000000
##9D87331.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958429
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#A97D75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d8733;
/* rgb */ color: rgb(157, 135, 51);
/* oklch */ color: oklch(62.7% 0.106 94.4);
Tailwind
colors: {
  custom: {
    50: '#bda96f',
    500: '#9d8733',
    950: '#000000',
  },
}
SCSS
$custom: #9d8733;
$custom-light: #bda96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8733",
  "rgb": {
    "r": 157,
    "g": 135,
    "b": 51
  },
  "hsl": {
    "h": 47.547,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62726,
    "c": 0.10583,
    "h": 94.4
  },
  "luminance": 0.24735
}

Semantic roles & 50–950 ramp

primary
#9D8733
secondary
#7080BB
accent
#6BDA4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9D8733

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

Preview Lab → · Contrast checker → · Palette generator →

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