#917C2D#917C2D

#917C2D is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.101 H 94.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#917C2D
RGBrgb(145, 124, 45)
HSLhsl(47, 53%, 37%)
HSVhsv(47, 69%, 57%)
CMYKcmyk(0%, 14.5%, 69%, 43.1%)
CIE-LABlab(52.54, -1.23, 44.49)
CIE-LCHlch(52.54, 44.51, 91.59°)
OKLaboklab(59.05% -0.0072 0.1003)
OKLCHoklch(59.05% 0.101 94.1)
XYZxyz(19.3593, 20.6255, 5.4435)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917C2D #2D4291
analogous
#914A2D #917C2D #74912D
triadic
#917C2D #2D917C #7C2D91
tetradic
#917C2D #2D914A #2D4291 #912D74
square
#917C2D #2D914A #2D4291 #912D74
split-complementary
#917C2D #2D7491 #4A2D91
monochromatic
#342C10 #62541F #917C2D #C0A43B #D0BA68

Accessibility & contrast

On white

4.10
#917C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#917C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917C2D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917C2D#FFFFFF#000000##000000
##917C2D1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#9D726C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #917c2d;
/* rgb */ color: rgb(145, 124, 45);
/* oklch */ color: oklch(59.0% 0.101 94.1);
Tailwind
colors: {
  custom: {
    50: '#b4a16a',
    500: '#917c2d',
    950: '#000000',
  },
}
SCSS
$custom: #917c2d;
$custom-light: #b4a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#917c2d",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 47.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.10059,
    "h": 94.1
  },
  "luminance": 0.20625
}

Semantic roles & 50–950 ramp

primary
#917C2D
secondary
#6375B7
accent
#6ADC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #917C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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