#51631D#51631D

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

Color values

HEX#51631D
RGBrgb(81, 99, 29)
HSLhsl(75, 55%, 25%)
HSVhsv(75, 71%, 39%)
CMYKcmyk(18.2%, 0%, 70.7%, 61.2%)
CIE-LABlab(39.18, -18.00, 36.00)
CIE-LCHlch(39.18, 40.25, 116.57°)
OKLaboklab(46.95% -0.0522 0.0816)
OKLCHoklch(46.95% 0.097 122.6)
XYZxyz(8.0770, 10.7617, 2.8139)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51631D #2F1D63
analogous
#63521D #51631D #2E631D
triadic
#51631D #1D5163 #631D51
tetradic
#51631D #1D6352 #2F1D63 #631D2E
square
#51631D #1D6352 #2F1D63 #631D2E
split-complementary
#51631D #1D2E63 #521D63
monochromatic
#131807 #2A340F #51631D #78922B #9EC239

Accessibility & contrast

On white

6.66
#51631D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #51631D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51631D#FFFFFF#000000##FFFFFF
##51631D1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51631d;
/* rgb */ color: rgb(81, 99, 29);
/* oklch */ color: oklch(46.9% 0.097 122.6);
Tailwind
colors: {
  custom: {
    50: '#848f5d',
    500: '#51631d',
    950: '#000000',
  },
}
SCSS
$custom: #51631d;
$custom-light: #848f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#51631d",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 29
  },
  "hsl": {
    "h": 75.429,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.09686,
    "h": 122.6
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#51631D
secondary
#594498
accent
#4ADE70
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51631D

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

Preview Lab → · Contrast checker → · Palette generator →

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