#917C2F#917C2F

#917C2F is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.1% C 0.099 H 93.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#917C2F
RGBrgb(145, 124, 47)
HSLhsl(47, 51%, 38%)
HSVhsv(47, 68%, 57%)
CMYKcmyk(0%, 14.5%, 67.6%, 43.1%)
CIE-LABlab(52.55, -1.11, 43.59)
CIE-LCHlch(52.55, 43.61, 91.46°)
OKLaboklab(59.07% -0.0066 0.0988)
OKLCHoklch(59.07% 0.099 93.8)
XYZxyz(19.3987, 20.6413, 5.6512)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917C2F #2F4491
analogous
#914B2F #917C2F #75912F
triadic
#917C2F #2F917C #7C2F91
tetradic
#917C2F #2F914B #2F4491 #912F75
square
#917C2F #2F914B #2F4491 #912F75
split-complementary
#917C2F #2F7591 #4B2F91
monochromatic
#352D11 #635420 #917C2F #BFA43E #CFBA6B

Accessibility & contrast

On white

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

On black

5.13
#917C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917C2F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917C2F#FFFFFF#000000##000000
##917C2F1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #917c2f;
/* rgb */ color: rgb(145, 124, 47);
/* oklch */ color: oklch(59.1% 0.099 93.8);
Tailwind
colors: {
  custom: {
    50: '#b4a16b',
    500: '#917c2f',
    950: '#000000',
  },
}
SCSS
$custom: #917c2f;
$custom-light: #b4a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#917c2f",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 47.143,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59066,
    "c": 0.099,
    "h": 93.8
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#917C2F
secondary
#6577B6
accent
#6CDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #917C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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