#917C21#917C21

#917C21 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.109 H 95.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#917C21
RGBrgb(145, 124, 33)
HSLhsl(49, 63%, 35%)
HSVhsv(49, 77%, 57%)
CMYKcmyk(0%, 14.5%, 77.2%, 43.1%)
CIE-LABlab(52.45, -1.87, 49.41)
CIE-LCHlch(52.45, 49.44, 92.16°)
OKLaboklab(58.95% -0.0104 0.1084)
OKLCHoklch(58.95% 0.109 95.5)
XYZxyz(19.1602, 20.5459, 4.3951)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917C21 #213691
analogous
#914421 #917C21 #6E9121
triadic
#917C21 #21917C #7C2191
tetradic
#917C21 #219144 #213691 #91216E
square
#917C21 #219144 #213691 #91216E
split-complementary
#917C21 #216E91 #442191
monochromatic
#2D270A #5F5116 #917C21 #C3A72C #D8BF54

Accessibility & contrast

On white

4.11
#917C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#917C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917C21
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917C21#FFFFFF#000000##000000
##917C211.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7910
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#9D726A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #917c21;
/* rgb */ color: rgb(145, 124, 33);
/* oklch */ color: oklch(58.9% 0.109 95.5);
Tailwind
colors: {
  custom: {
    50: '#b5a164',
    500: '#917c21',
    950: '#000000',
  },
}
SCSS
$custom: #917c21;
$custom-light: #b5a164;
$custom-dark: #000000;
JSON
{
  "hex": "#917c21",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 33
  },
  "hsl": {
    "h": 48.75,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58949,
    "c": 0.10892,
    "h": 95.5
  },
  "luminance": 0.20545
}

Semantic roles & 50–950 ramp

primary
#917C21
secondary
#5266BC
accent
#61E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917C21

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

Preview Lab → · Contrast checker → · Palette generator →

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