#917A1E#917A1E

#917A1E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.5% C 0.109 H 94.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#917A1E
RGBrgb(145, 122, 30)
HSLhsl(48, 66%, 34%)
HSVhsv(48, 79%, 57%)
CMYKcmyk(0%, 15.9%, 79.3%, 43.1%)
CIE-LABlab(51.88, -0.87, 49.99)
CIE-LCHlch(51.88, 49.99, 91.00°)
OKLaboklab(58.49% -0.0079 0.109)
OKLCHoklch(58.49% 0.109 94.1)
XYZxyz(18.8720, 20.0336, 4.1009)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917A1E #1E3591
analogous
#91411E #917A1E #6F911E
triadic
#917A1E #1E917A #7A1E91
tetradic
#917A1E #1E9141 #1E3591 #911E6F
square
#917A1E #1E9141 #1E3591 #911E6F
split-complementary
#917A1E #1E6F91 #411E91
monochromatic
#2C2509 #5E4F14 #917A1E #C4A528 #DBBF4F

Accessibility & contrast

On white

4.19
#917A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#917A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917A1E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917A1E#FFFFFF#000000##000000
##917A1E1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#9D7068
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #917a1e;
/* rgb */ color: rgb(145, 122, 30);
/* oklch */ color: oklch(58.5% 0.109 94.1);
Tailwind
colors: {
  custom: {
    50: '#b5a062',
    500: '#917a1e',
    950: '#000000',
  },
}
SCSS
$custom: #917a1e;
$custom-light: #b5a062;
$custom-dark: #000000;
JSON
{
  "hex": "#917a1e",
  "rgb": {
    "r": 145,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 48,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5849,
    "c": 0.1093,
    "h": 94.1
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

primary
#917A1E
secondary
#4D64BD
accent
#61E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #917A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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