#917C1C#917C1C

#917C1C is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.112 H 95.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#917C1C
RGBrgb(145, 124, 28)
HSLhsl(49, 68%, 34%)
HSVhsv(49, 81%, 57%)
CMYKcmyk(0%, 14.5%, 80.7%, 43.1%)
CIE-LABlab(52.42, -2.07, 51.19)
CIE-LCHlch(52.42, 51.23, 92.32°)
OKLaboklab(58.92% -0.0115 0.1112)
OKLCHoklch(58.92% 0.112 95.9)
XYZxyz(19.0953, 20.5200, 4.0533)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917C1C #1C3191
analogous
#91421C #917C1C #6C911C
triadic
#917C1C #1C917C #7C1C91
tetradic
#917C1C #1C9142 #1C3191 #911C6C
square
#917C1C #1C9142 #1C3191 #911C6C
split-complementary
#917C1C #1C6C91 #421C91
monochromatic
#2A2408 #5E5012 #917C1C #C4A826 #DCC24B

Accessibility & contrast

On white

4.11
#917C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#917C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917C1C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917C1C#FFFFFF#000000##000000
##917C1C1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7905
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#9D726A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #917c1c;
/* rgb */ color: rgb(145, 124, 28);
/* oklch */ color: oklch(58.9% 0.112 95.9);
Tailwind
colors: {
  custom: {
    50: '#b5a161',
    500: '#917c1c',
    950: '#000000',
  },
}
SCSS
$custom: #917c1c;
$custom-light: #b5a161;
$custom-dark: #000000;
JSON
{
  "hex": "#917c1c",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 49.231,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58917,
    "c": 0.11175,
    "h": 95.9
  },
  "luminance": 0.20519
}

Semantic roles & 50–950 ramp

primary
#917C1C
secondary
#4A5FBE
accent
#5CEB3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #917C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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