#917828#917828

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

Color values

HEX#917828
RGBrgb(145, 120, 40)
HSLhsl(46, 57%, 36%)
HSVhsv(46, 72%, 57%)
CMYKcmyk(0%, 17.2%, 72.4%, 43.1%)
CIE-LABlab(51.39, 0.73, 45.52)
CIE-LCHlch(51.39, 45.53, 89.08°)
OKLaboklab(58.13% -0.0022 0.1016)
OKLCHoklch(58.13% 0.102 91.2)
XYZxyz(18.7775, 19.6070, 4.8026)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917828 #284191
analogous
#914428 #917828 #769128
triadic
#917828 #289178 #782891
tetradic
#917828 #289144 #284191 #912876
square
#917828 #289144 #284191 #912876
split-complementary
#917828 #287691 #442891
monochromatic
#31290E #61501B #917828 #C1A035 #D3B860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##917828#FFFFFF#000000##000000
##9178281.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)
#85761D
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#9D6E68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #917828;
/* rgb */ color: rgb(145, 120, 40);
/* oklch */ color: oklch(58.1% 0.102 91.2);
Tailwind
colors: {
  custom: {
    50: '#b59e67',
    500: '#917828',
    950: '#000000',
  },
}
SCSS
$custom: #917828;
$custom-light: #b59e67;
$custom-dark: #000000;
JSON
{
  "hex": "#917828",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 45.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58128,
    "c": 0.10162,
    "h": 91.2
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#917828
secondary
#5C72B9
accent
#6CE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917828

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

Preview Lab → · Contrast checker → · Palette generator →

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