#837D24#837D24

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

Color values

HEX#837D24
RGBrgb(131, 125, 36)
HSLhsl(56, 57%, 33%)
HSVhsv(56, 73%, 51%)
CMYKcmyk(0%, 4.6%, 72.5%, 48.6%)
CIE-LABlab(51.41, -8.76, 46.76)
CIE-LCHlch(51.41, 47.58, 100.61°)
OKLaboklab(57.81% -0.0288 0.104)
OKLCHoklch(57.81% 0.108 105.5)
XYZxyz(17.0128, 19.6205, 4.5597)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837D24 #242A83
analogous
#834E24 #837D24 #598324
triadic
#837D24 #24837D #7D2483
tetradic
#837D24 #24834E #242A83 #832459
square
#837D24 #24834E #242A83 #832459
split-complementary
#837D24 #245983 #4E2483
monochromatic
#23210A #534F17 #837D24 #B3AB31 #CFC852

Accessibility & contrast

On white

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

On black

4.92
#837D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##837D24#FFFFFF#000000##000000
##837D241.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887816
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#8D746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #837d24;
/* rgb */ color: rgb(131, 125, 36);
/* oklch */ color: oklch(57.8% 0.108 105.5);
Tailwind
colors: {
  custom: {
    50: '#aaa265',
    500: '#837d24',
    950: '#000000',
  },
}
SCSS
$custom: #837d24;
$custom-light: #aaa265;
$custom-dark: #000000;
JSON
{
  "hex": "#837d24",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 56.211,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57808,
    "c": 0.10788,
    "h": 105.5
  },
  "luminance": 0.1962
}

Semantic roles & 50–950 ramp

primary
#837D24
secondary
#4F56B3
accent
#51E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #837D24

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

Preview Lab → · Contrast checker → · Palette generator →

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