#917A2C#917A2C

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

Color values

HEX#917A2C
RGBrgb(145, 122, 44)
HSLhsl(46, 53%, 37%)
HSVhsv(46, 70%, 57%)
CMYKcmyk(0%, 15.9%, 69.7%, 43.1%)
CIE-LABlab(51.97, -0.17, 44.35)
CIE-LCHlch(51.97, 44.35, 90.22°)
OKLaboklab(58.6% -0.0042 0.0999)
OKLCHoklch(58.6% 0.1 92.4)
XYZxyz(19.0922, 20.1217, 5.2606)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917A2C #2C4391
analogous
#91482C #917A2C #75912C
triadic
#917A2C #2C917A #7A2C91
tetradic
#917A2C #2C9148 #2C4391 #912C75
square
#917A2C #2C9148 #2C4391 #912C75
split-complementary
#917A2C #2C7591 #482C91
monochromatic
#332B10 #62521E #917A2C #C0A23A #D1B967

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##917A2C#FFFFFF#000000##000000
##917A2C1.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)
#877822
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#9D706A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #917a2c;
/* rgb */ color: rgb(145, 122, 44);
/* oklch */ color: oklch(58.6% 0.100 92.4);
Tailwind
colors: {
  custom: {
    50: '#b4a069',
    500: '#917a2c',
    950: '#000000',
  },
}
SCSS
$custom: #917a2c;
$custom-light: #b4a069;
$custom-dark: #000000;
JSON
{
  "hex": "#917a2c",
  "rgb": {
    "r": 145,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 46.337,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.586,
    "c": 0.09995,
    "h": 92.4
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#917A2C
secondary
#6275B7
accent
#6CDD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #917A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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