#917826#917826

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

Color values

HEX#917826
RGBrgb(145, 120, 38)
HSLhsl(46, 58%, 36%)
HSVhsv(46, 74%, 57%)
CMYKcmyk(0%, 17.2%, 73.8%, 43.1%)
CIE-LABlab(51.37, 0.63, 46.37)
CIE-LCHlch(51.37, 46.37, 89.22°)
OKLaboklab(58.11% -0.0027 0.103)
OKLCHoklch(58.11% 0.103 91.5)
XYZxyz(18.7444, 19.5937, 4.6280)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917826 #263F91
analogous
#914226 #917826 #749126
triadic
#917826 #269178 #782691
tetradic
#917826 #269142 #263F91 #912674
square
#917826 #269142 #263F91 #912674
split-complementary
#917826 #267491 #422691
monochromatic
#30280D #615019 #917826 #C1A033 #D5B95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##917826#FFFFFF#000000##000000
##9178261.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)
#86761A
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#9D6E68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #917826;
/* rgb */ color: rgb(145, 120, 38);
/* oklch */ color: oklch(58.1% 0.103 91.5);
Tailwind
colors: {
  custom: {
    50: '#b59e66',
    500: '#917826',
    950: '#000000',
  },
}
SCSS
$custom: #917826;
$custom-light: #b59e66;
$custom-dark: #000000;
JSON
{
  "hex": "#917826",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 38
  },
  "hsl": {
    "h": 45.981,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.10303,
    "h": 91.5
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#917826
secondary
#5970BA
accent
#6AE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917826

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

Preview Lab → · Contrast checker → · Palette generator →

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