#917827#917827

#917827 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.102 H 91.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#917827
RGBrgb(145, 120, 39)
HSLhsl(46, 58%, 36%)
HSVhsv(46, 73%, 57%)
CMYKcmyk(0%, 17.2%, 73.1%, 43.1%)
CIE-LABlab(51.38, 0.68, 45.95)
CIE-LCHlch(51.38, 45.95, 89.15°)
OKLaboklab(58.12% -0.0024 0.1023)
OKLCHoklch(58.12% 0.102 91.4)
XYZxyz(18.7608, 19.6003, 4.7141)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917827 #274091
analogous
#914327 #917827 #759127
triadic
#917827 #279178 #782791
tetradic
#917827 #279143 #274091 #912775
square
#917827 #279143 #274091 #912775
split-complementary
#917827 #277591 #432791
monochromatic
#31280D #61501A #917827 #C1A034 #D4B85F

Accessibility & contrast

On white

4.27
#917827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#917827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917827
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917827#FFFFFF#000000##000000
##9178271.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86761B
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#9D6E68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #917827;
/* rgb */ color: rgb(145, 120, 39);
/* oklch */ color: oklch(58.1% 0.102 91.4);
Tailwind
colors: {
  custom: {
    50: '#b59e66',
    500: '#917827',
    950: '#000000',
  },
}
SCSS
$custom: #917827;
$custom-light: #b59e66;
$custom-dark: #000000;
JSON
{
  "hex": "#917827",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 39
  },
  "hsl": {
    "h": 45.849,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58119,
    "c": 0.10233,
    "h": 91.4
  },
  "luminance": 0.19599
}

Semantic roles & 50–950 ramp

primary
#917827
secondary
#5B71B9
accent
#6BE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917827

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

Preview Lab → · Contrast checker → · Palette generator →

#917827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva