#51631B#51631B

#51631B is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.9% C 0.098 H 122.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#51631B
RGBrgb(81, 99, 27)
HSLhsl(75, 57%, 25%)
HSVhsv(75, 73%, 39%)
CMYKcmyk(18.2%, 0%, 72.7%, 61.2%)
CIE-LABlab(39.16, -18.15, 36.87)
CIE-LCHlch(39.16, 41.10, 116.21°)
OKLaboklab(46.93% -0.0528 0.0831)
OKLCHoklch(46.93% 0.098 122.4)
XYZxyz(8.0531, 10.7521, 2.6878)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51631B #2D1B63
analogous
#63511B #51631B #2D631B
triadic
#51631B #1B5163 #631B51
tetradic
#51631B #1B6351 #2D1B63 #631B2D
square
#51631B #1B6351 #2D1B63 #631B2D
split-complementary
#51631B #1B2D63 #511B63
monochromatic
#141807 #2A330E #51631B #789328 #A0C335

Accessibility & contrast

On white

6.67
#51631B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#51631B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51631B
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51631B#FFFFFF#000000##FFFFFF
##51631B1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D10
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#555E55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #51631b;
/* rgb */ color: rgb(81, 99, 27);
/* oklch */ color: oklch(46.9% 0.098 122.4);
Tailwind
colors: {
  custom: {
    50: '#848f5c',
    500: '#51631b',
    950: '#000000',
  },
}
SCSS
$custom: #51631b;
$custom-light: #848f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#51631b",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 75,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.09845,
    "h": 122.4
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#51631B
secondary
#574198
accent
#47E06E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51631B

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

Preview Lab → · Contrast checker → · Palette generator →

#51631B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva