#917E2D#917E2D

#917E2D is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.5% C 0.102 H 95.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#917E2D
RGBrgb(145, 126, 45)
HSLhsl(49, 53%, 37%)
HSVhsv(49, 69%, 57%)
CMYKcmyk(0%, 13.1%, 69%, 43.1%)
CIE-LABlab(53.09, -2.36, 45.07)
CIE-LCHlch(53.09, 45.13, 92.99°)
OKLaboklab(59.49% -0.0104 0.1016)
OKLCHoklch(59.49% 0.102 95.8)
XYZxyz(19.6125, 21.1319, 5.5279)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917E2D #2D4091
analogous
#914C2D #917E2D #72912D
triadic
#917E2D #2D917E #7E2D91
tetradic
#917E2D #2D914C #2D4091 #912D72
square
#917E2D #2D914C #2D4091 #912D72
split-complementary
#917E2D #2D7291 #4C2D91
monochromatic
#342D10 #62551F #917E2D #C0A73B #D0BC68

Accessibility & contrast

On white

4.02
#917E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#917E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917E2D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917E2D#FFFFFF#000000##000000
##917E2D1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B23
Deuteranopia (green-blind)
#908131
Tritanopia (blue-blind)
#9C746D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #917e2d;
/* rgb */ color: rgb(145, 126, 45);
/* oklch */ color: oklch(59.5% 0.102 95.8);
Tailwind
colors: {
  custom: {
    50: '#b4a36a',
    500: '#917e2d',
    950: '#000000',
  },
}
SCSS
$custom: #917e2d;
$custom-light: #b4a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#917e2d",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 48.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.10209,
    "h": 95.8
  },
  "luminance": 0.21131
}

Semantic roles & 50–950 ramp

primary
#917E2D
secondary
#6373B7
accent
#67DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #917E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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