#917E1C#917E1C

#917E1C is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.4% C 0.113 H 97.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#917E1C
RGBrgb(145, 126, 28)
HSLhsl(50, 68%, 34%)
HSVhsv(50, 81%, 57%)
CMYKcmyk(0%, 13.1%, 80.7%, 43.1%)
CIE-LABlab(52.98, -3.19, 51.69)
CIE-LCHlch(52.98, 51.79, 93.53°)
OKLaboklab(59.36% -0.0147 0.1122)
OKLCHoklch(59.36% 0.113 97.4)
XYZxyz(19.3485, 21.0263, 4.1377)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917E1C #1C2F91
analogous
#91441C #917E1C #6A911C
triadic
#917E1C #1C917E #7E1C91
tetradic
#917E1C #1C9144 #1C2F91 #911C6A
square
#917E1C #1C9144 #1C2F91 #911C6A
split-complementary
#917E1C #1C6A91 #441C91
monochromatic
#2A2508 #5E5112 #917E1C #C4AB26 #DCC54B

Accessibility & contrast

On white

4.03
#917E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#917E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917E1C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917E1C#FFFFFF#000000##000000
##917E1C1.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B04
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#9D746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #917e1c;
/* rgb */ color: rgb(145, 126, 28);
/* oklch */ color: oklch(59.4% 0.113 97.4);
Tailwind
colors: {
  custom: {
    50: '#b5a361',
    500: '#917e1c',
    950: '#000000',
  },
}
SCSS
$custom: #917e1c;
$custom-light: #b5a361;
$custom-dark: #000000;
JSON
{
  "hex": "#917e1c",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 50.256,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59359,
    "c": 0.11319,
    "h": 97.4
  },
  "luminance": 0.21025
}

Semantic roles & 50–950 ramp

primary
#917E1C
secondary
#4A5DBE
accent
#59EB3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #917E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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