#837E27#837E27

#837E27 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.107 H 106.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#837E27
RGBrgb(131, 126, 39)
HSLhsl(57, 54%, 33%)
HSVhsv(57, 70%, 51%)
CMYKcmyk(0%, 3.8%, 70.2%, 48.6%)
CIE-LABlab(51.72, -9.14, 45.84)
CIE-LCHlch(51.72, 46.74, 101.27°)
OKLaboklab(58.06% -0.0295 0.1026)
OKLCHoklch(58.06% 0.107 106)
XYZxyz(17.1878, 19.8941, 4.8536)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837E27 #272C83
analogous
#835027 #837E27 #5A8327
triadic
#837E27 #27837E #7E2783
tetradic
#837E27 #278350 #272C83 #83275A
square
#837E27 #278350 #272C83 #83275A
split-complementary
#837E27 #275A83 #502783
monochromatic
#25230B #545119 #837E27 #B2AB35 #CDC757

Accessibility & contrast

On white

4.22
#837E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#837E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837E27
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837E27#FFFFFF#000000##000000
##837E271.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791A
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#8D756D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837e27;
/* rgb */ color: rgb(131, 126, 39);
/* oklch */ color: oklch(58.1% 0.107 106.0);
Tailwind
colors: {
  custom: {
    50: '#aaa367',
    500: '#837e27',
    950: '#000000',
  },
}
SCSS
$custom: #837e27;
$custom-light: #aaa367;
$custom-dark: #000000;
JSON
{
  "hex": "#837e27",
  "rgb": {
    "r": 131,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 56.739,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.10675,
    "h": 106
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#837E27
secondary
#5459B2
accent
#52DD4A
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #837E27

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

Preview Lab → · Contrast checker → · Palette generator →

#837E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva