#917D2C#917D2C

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

Color values

HEX#917D2C
RGBrgb(145, 125, 44)
HSLhsl(48, 53%, 37%)
HSVhsv(48, 70%, 57%)
CMYKcmyk(0%, 13.8%, 69.7%, 43.1%)
CIE-LABlab(52.81, -1.86, 45.22)
CIE-LCHlch(52.81, 45.26, 92.35°)
OKLaboklab(59.26% -0.0091 0.1017)
OKLCHoklch(59.26% 0.102 95.1)
XYZxyz(19.4662, 20.8698, 5.3853)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917D2C #2C4091
analogous
#914B2C #917D2C #73912C
triadic
#917D2C #2C917D #7D2C91
tetradic
#917D2C #2C914B #2C4091 #912C73
square
#917D2C #2C914B #2C4091 #912C73
split-complementary
#917D2C #2C7391 #4B2C91
monochromatic
#332C10 #62551E #917D2C #C0A53A #D1BC67

Accessibility & contrast

On white

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

On black

5.17
#917D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917D2C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917D2C#FFFFFF#000000##000000
##917D2C1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #917d2c;
/* rgb */ color: rgb(145, 125, 44);
/* oklch */ color: oklch(59.3% 0.102 95.1);
Tailwind
colors: {
  custom: {
    50: '#b4a26a',
    500: '#917d2c',
    950: '#000000',
  },
}
SCSS
$custom: #917d2c;
$custom-light: #b4a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#917d2c",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 48.119,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.1021,
    "h": 95.1
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#917D2C
secondary
#6273B7
accent
#68DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #917D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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