#917B1C#917B1C

#917B1C is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.7% C 0.111 H 95.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#917B1C
RGBrgb(145, 123, 28)
HSLhsl(49, 68%, 34%)
HSVhsv(49, 81%, 57%)
CMYKcmyk(0%, 15.2%, 80.7%, 43.1%)
CIE-LABlab(52.14, -1.51, 50.93)
CIE-LCHlch(52.14, 50.96, 91.70°)
OKLaboklab(58.7% -0.0099 0.1106)
OKLCHoklch(58.7% 0.111 95.1)
XYZxyz(18.9707, 20.2706, 4.0118)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917B1C #1C3291
analogous
#91411C #917B1C #6D911C
triadic
#917B1C #1C917B #7B1C91
tetradic
#917B1C #1C9141 #1C3291 #911C6D
square
#917B1C #1C9141 #1C3291 #911C6D
split-complementary
#917B1C #1C6D91 #411C91
monochromatic
#2A2408 #5E4F12 #917B1C #C4A726 #DCC14B

Accessibility & contrast

On white

4.16
#917B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#917B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917B1C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917B1C#FFFFFF#000000##000000
##917B1C1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897805
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#9D7169
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #917b1c;
/* rgb */ color: rgb(145, 123, 28);
/* oklch */ color: oklch(58.7% 0.111 95.1);
Tailwind
colors: {
  custom: {
    50: '#b5a061',
    500: '#917b1c',
    950: '#000000',
  },
}
SCSS
$custom: #917b1c;
$custom-light: #b5a061;
$custom-dark: #000000;
JSON
{
  "hex": "#917b1c",
  "rgb": {
    "r": 145,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 48.718,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.11106,
    "h": 95.1
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#917B1C
secondary
#4A60BE
accent
#5EEB3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #917B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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