#917D2D#917D2D

#917D2D is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.101 H 95.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#917D2D
RGBrgb(145, 125, 45)
HSLhsl(48, 53%, 37%)
HSVhsv(48, 69%, 57%)
CMYKcmyk(0%, 13.8%, 69%, 43.1%)
CIE-LABlab(52.82, -1.80, 44.78)
CIE-LCHlch(52.82, 44.82, 92.30°)
OKLaboklab(59.27% -0.0088 0.1009)
OKLCHoklch(59.27% 0.101 95)
XYZxyz(19.4853, 20.8775, 5.4855)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917D2D #2D4191
analogous
#914B2D #917D2D #73912D
triadic
#917D2D #2D917D #7D2D91
tetradic
#917D2D #2D914B #2D4191 #912D73
square
#917D2D #2D914B #2D4191 #912D73
split-complementary
#917D2D #2D7391 #4B2D91
monochromatic
#342C10 #62551F #917D2D #C0A53B #D0BB68

Accessibility & contrast

On white

4.06
#917D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#917D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917D2D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917D2D#FFFFFF#000000##000000
##917D2D1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A23
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#9D736C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #917d2d;
/* rgb */ color: rgb(145, 125, 45);
/* oklch */ color: oklch(59.3% 0.101 95.0);
Tailwind
colors: {
  custom: {
    50: '#b4a26a',
    500: '#917d2d',
    950: '#000000',
  },
}
SCSS
$custom: #917d2d;
$custom-light: #b4a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#917d2d",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 48,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.10132,
    "h": 95
  },
  "luminance": 0.20876
}

Semantic roles & 50–950 ramp

primary
#917D2D
secondary
#6374B7
accent
#69DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #917D2D

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

Preview Lab → · Contrast checker → · Palette generator →

#917D2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva