#837F23#837F23

#837F23 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.111 H 106.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#837F23
RGBrgb(131, 127, 35)
HSLhsl(58, 58%, 33%)
HSVhsv(58, 73%, 51%)
CMYKcmyk(0%, 3.1%, 73.3%, 48.6%)
CIE-LABlab(51.98, -9.91, 47.72)
CIE-LCHlch(51.98, 48.74, 101.73°)
OKLaboklab(58.26% -0.0321 0.1058)
OKLCHoklch(58.26% 0.111 106.9)
XYZxyz(17.2535, 20.1260, 4.5656)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837F23 #232783
analogous
#834F23 #837F23 #578323
triadic
#837F23 #23837F #7F2383
tetradic
#837F23 #23834F #232783 #832357
square
#837F23 #23834F #232783 #832357
split-complementary
#837F23 #235783 #4F2383
monochromatic
#222109 #535016 #837F23 #B3AE30 #D0CB50

Accessibility & contrast

On white

4.18
#837F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#837F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837F23
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837F23#FFFFFF#000000##000000
##837F231.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#8D766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #837f23;
/* rgb */ color: rgb(131, 127, 35);
/* oklch */ color: oklch(58.3% 0.111 106.9);
Tailwind
colors: {
  custom: {
    50: '#aaa365',
    500: '#837f23',
    950: '#000000',
  },
}
SCSS
$custom: #837f23;
$custom-light: #aaa365;
$custom-dark: #000000;
JSON
{
  "hex": "#837f23",
  "rgb": {
    "r": 131,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 57.5,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.11058,
    "h": 106.9
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#837F23
secondary
#4E52B4
accent
#4DE147
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #837F23

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

Preview Lab → · Contrast checker → · Palette generator →

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