#837217#837217

#837217 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.2% C 0.106 H 97.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#837217
RGBrgb(131, 114, 23)
HSLhsl(51, 70%, 30%)
HSVhsv(51, 82%, 51%)
CMYKcmyk(0%, 13%, 82.4%, 48.6%)
CIE-LABlab(48.16, -3.20, 48.53)
CIE-LCHlch(48.16, 48.63, 93.77°)
OKLaboklab(55.21% -0.0144 0.1051)
OKLCHoklch(55.21% 0.106 97.8)
XYZxyz(15.5329, 16.9226, 3.2587)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837217 #172883
analogous
#833C17 #837217 #5E8317
triadic
#837217 #178372 #721783
tetradic
#837217 #17833C #172883 #83175E
square
#837217 #17833C #172883 #83175E
split-complementary
#837217 #175E83 #3C1783
monochromatic
#1B1705 #4F450E #837217 #B79F20 #DCC238

Accessibility & contrast

On white

4.79
#837217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#837217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #837217
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837217#FFFFFF#000000##FFFFFF
##8372171.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#8E6961
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #837217;
/* rgb */ color: rgb(131, 114, 23);
/* oklch */ color: oklch(55.2% 0.106 97.8);
Tailwind
colors: {
  custom: {
    50: '#ab9a5d',
    500: '#837217',
    950: '#000000',
  },
}
SCSS
$custom: #837217;
$custom-light: #ab9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#837217",
  "rgb": {
    "r": 131,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 50.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55206,
    "c": 0.10607,
    "h": 97.8
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#837217
secondary
#3F52B7
accent
#57ED3B
background
#FAF9F5
surface
#F5F2E9
border
#CFCCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #837217

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

Preview Lab → · Contrast checker → · Palette generator →

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