#917A2A#917A2A

#917A2A is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.6% C 0.101 H 92.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#917A2A
RGBrgb(145, 122, 42)
HSLhsl(47, 55%, 37%)
HSVhsv(47, 71%, 57%)
CMYKcmyk(0%, 15.9%, 71%, 43.1%)
CIE-LABlab(51.96, -0.28, 45.23)
CIE-LCHlch(51.96, 45.23, 90.36°)
OKLaboklab(58.58% -0.0048 0.1014)
OKLCHoklch(58.58% 0.101 92.7)
XYZxyz(19.0555, 20.1071, 5.0674)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917A2A #2A4191
analogous
#91472A #917A2A #75912A
triadic
#917A2A #2A917A #7A2A91
tetradic
#917A2A #2A9147 #2A4191 #912A75
square
#917A2A #2A9147 #2A4191 #912A75
split-complementary
#917A2A #2A7591 #472A91
monochromatic
#322A0F #62521C #917A2A #C0A238 #D2B963

Accessibility & contrast

On white

4.18
#917A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#917A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917A2A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917A2A#FFFFFF#000000##000000
##917A2A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#9D706A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #917a2a;
/* rgb */ color: rgb(145, 122, 42);
/* oklch */ color: oklch(58.6% 0.101 92.7);
Tailwind
colors: {
  custom: {
    50: '#b5a068',
    500: '#917a2a',
    950: '#000000',
  },
}
SCSS
$custom: #917a2a;
$custom-light: #b5a068;
$custom-dark: #000000;
JSON
{
  "hex": "#917a2a",
  "rgb": {
    "r": 145,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 46.602,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.10147,
    "h": 92.7
  },
  "luminance": 0.20106
}

Semantic roles & 50–950 ramp

primary
#917A2A
secondary
#5F73B8
accent
#6BDE49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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