#837D27#837D27

#837D27 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.106 H 105.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#837D27
RGBrgb(131, 125, 39)
HSLhsl(56, 54%, 33%)
HSVhsv(56, 70%, 51%)
CMYKcmyk(0%, 4.6%, 70.2%, 48.6%)
CIE-LABlab(51.43, -8.59, 45.55)
CIE-LCHlch(51.43, 46.35, 100.68°)
OKLaboklab(57.83% -0.0279 0.102)
OKLCHoklch(57.83% 0.106 105.3)
XYZxyz(17.0606, 19.6396, 4.8112)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837D27 #272D83
analogous
#834F27 #837D27 #5B8327
triadic
#837D27 #27837D #7D2783
tetradic
#837D27 #27834F #272D83 #83275B
square
#837D27 #27834F #272D83 #83275B
split-complementary
#837D27 #275B83 #4F2783
monochromatic
#25230B #545019 #837D27 #B2AA35 #CDC557

Accessibility & contrast

On white

4.26
#837D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#837D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837D27
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837D27#FFFFFF#000000##000000
##837D271.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781A
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#8D746C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #837d27;
/* rgb */ color: rgb(131, 125, 39);
/* oklch */ color: oklch(57.8% 0.106 105.3);
Tailwind
colors: {
  custom: {
    50: '#aaa267',
    500: '#837d27',
    950: '#000000',
  },
}
SCSS
$custom: #837d27;
$custom-light: #aaa267;
$custom-dark: #000000;
JSON
{
  "hex": "#837d27",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 56.087,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57832,
    "c": 0.10573,
    "h": 105.3
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#837D27
secondary
#545AB2
accent
#54DD4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #837D27

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

Preview Lab → · Contrast checker → · Palette generator →

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