#917D1C#917D1C

#917D1C is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.112 H 96.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#917D1C
RGBrgb(145, 125, 28)
HSLhsl(50, 68%, 34%)
HSVhsv(50, 81%, 57%)
CMYKcmyk(0%, 13.8%, 80.7%, 43.1%)
CIE-LABlab(52.70, -2.63, 51.44)
CIE-LCHlch(52.70, 51.50, 92.93°)
OKLaboklab(59.14% -0.0131 0.1117)
OKLCHoklch(59.14% 0.112 96.7)
XYZxyz(19.2213, 20.7719, 4.0953)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917D1C #1C3091
analogous
#91431C #917D1C #6B911C
triadic
#917D1C #1C917D #7D1C91
tetradic
#917D1C #1C9143 #1C3091 #911C6B
square
#917D1C #1C9143 #1C3091 #911C6B
split-complementary
#917D1C #1C6B91 #431C91
monochromatic
#2A2508 #5E5112 #917D1C #C4A926 #DCC34B

Accessibility & contrast

On white

4.07
#917D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#917D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917D1C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917D1C#FFFFFF#000000##000000
##917D1C1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A04
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#9D736B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #917d1c;
/* rgb */ color: rgb(145, 125, 28);
/* oklch */ color: oklch(59.1% 0.112 96.7);
Tailwind
colors: {
  custom: {
    50: '#b5a261',
    500: '#917d1c',
    950: '#000000',
  },
}
SCSS
$custom: #917d1c;
$custom-light: #b5a261;
$custom-dark: #000000;
JSON
{
  "hex": "#917d1c",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 49.744,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59138,
    "c": 0.11246,
    "h": 96.7
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

primary
#917D1C
secondary
#4A5EBE
accent
#5BEB3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #917D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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