#837012#837012

#837012 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.107 H 96.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#837012
RGBrgb(131, 112, 18)
HSLhsl(50, 76%, 29%)
HSVhsv(50, 86%, 51%)
CMYKcmyk(0%, 14.5%, 86.3%, 48.6%)
CIE-LABlab(47.57, -2.23, 49.57)
CIE-LCHlch(47.57, 49.62, 92.58°)
OKLaboklab(54.73% -0.0121 0.1063)
OKLCHoklch(54.73% 0.107 96.5)
XYZxyz(15.2643, 16.4582, 2.9449)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837012 #122583
analogous
#833812 #837012 #5E8312
triadic
#837012 #128370 #701283
tetradic
#837012 #128338 #122583 #83125E
square
#837012 #128338 #122583 #83125E
split-complementary
#837012 #125E83 #381283
monochromatic
#1B1704 #4D420B #837012 #B99E19 #E2C42D

Accessibility & contrast

On white

4.89
#837012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#837012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #837012
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837012#FFFFFF#000000##FFFFFF
##8370121.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#82731A
Tritanopia (blue-blind)
#8E665F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #837012;
/* rgb */ color: rgb(131, 112, 18);
/* oklch */ color: oklch(54.7% 0.107 96.5);
Tailwind
colors: {
  custom: {
    50: '#ab985b',
    500: '#837012',
    950: '#000000',
  },
}
SCSS
$custom: #837012;
$custom-light: #ab985b;
$custom-dark: #000000;
JSON
{
  "hex": "#837012",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 49.912,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.10696,
    "h": 96.5
  },
  "luminance": 0.16457
}

Semantic roles & 50–950 ramp

primary
#837012
secondary
#384EB8
accent
#55F235
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #837012

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

Preview Lab → · Contrast checker → · Palette generator →

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