#9D9237#9D9237

#9D9237 is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.2% C 0.112 H 102.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9D9237
RGBrgb(157, 146, 55)
HSLhsl(54, 48%, 42%)
HSVhsv(54, 65%, 62%)
CMYKcmyk(0%, 7%, 65%, 38.4%)
CIE-LABlab(59.89, -7.30, 48.11)
CIE-LCHlch(59.89, 48.66, 98.62°)
OKLaboklab(65.17% -0.0241 0.1093)
OKLCHoklch(65.17% 0.112 102.4)
XYZxyz(24.8741, 28.0027, 7.7085)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9237 #37429D
analogous
#9D5F37 #9D9237 #759D37
triadic
#9D9237 #379D92 #92379D
tetradic
#9D9237 #379D5F #37429D #9D3775
square
#9D9237 #379D5F #37429D #9D3775
split-complementary
#9D9237 #37759D #5F379D
monochromatic
#423E17 #706827 #9D9237 #C2B550 #D1C87D

Accessibility & contrast

On white

3.18
#9D9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#9D9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9237
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9237#FFFFFF#000000##000000
##9D92371.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D2C
Deuteranopia (green-blind)
#A2923C
Tritanopia (blue-blind)
#A9887F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d9237;
/* rgb */ color: rgb(157, 146, 55);
/* oklch */ color: oklch(65.2% 0.112 102.4);
Tailwind
colors: {
  custom: {
    50: '#bdb172',
    500: '#9d9237',
    950: '#000000',
  },
}
SCSS
$custom: #9d9237;
$custom-light: #bdb172;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9237",
  "rgb": {
    "r": 157,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 53.529,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65173,
    "c": 0.11189,
    "h": 102.4
  },
  "luminance": 0.28002
}

Semantic roles & 50–950 ramp

primary
#9D9237
secondary
#757DBB
accent
#5FD850
background
#FBFAF7
surface
#F7F5ED
border
#D0CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D9237

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

Preview Lab → · Contrast checker → · Palette generator →

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