#51631C#51631C

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

Color values

HEX#51631C
RGBrgb(81, 99, 28)
HSLhsl(75, 56%, 25%)
HSVhsv(75, 72%, 39%)
CMYKcmyk(18.2%, 0%, 71.7%, 61.2%)
CIE-LABlab(39.17, -18.08, 36.44)
CIE-LCHlch(39.17, 40.68, 116.39°)
OKLaboklab(46.94% -0.0525 0.0824)
OKLCHoklch(46.94% 0.098 122.5)
XYZxyz(8.0649, 10.7568, 2.7498)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51631C #2E1C63
analogous
#63511C #51631C #2E631C
triadic
#51631C #1C5163 #631C51
tetradic
#51631C #1C6351 #2E1C63 #631C2E
square
#51631C #1C6351 #2E1C63 #631C2E
split-complementary
#51631C #1C2E63 #511C63
monochromatic
#141807 #2A330F #51631C #789329 #9FC237

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51631C#FFFFFF#000000##FFFFFF
##51631C1.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)
#695D12
Deuteranopia (green-blind)
#675C22
Tritanopia (blue-blind)
#555E55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #51631c;
/* rgb */ color: rgb(81, 99, 28);
/* oklch */ color: oklch(46.9% 0.098 122.5);
Tailwind
colors: {
  custom: {
    50: '#848f5d',
    500: '#51631c',
    950: '#000000',
  },
}
SCSS
$custom: #51631c;
$custom-light: #848f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#51631c",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 28
  },
  "hsl": {
    "h": 75.211,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4694,
    "c": 0.09766,
    "h": 122.5
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#51631C
secondary
#584398
accent
#49DF6F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51631C

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

Preview Lab → · Contrast checker → · Palette generator →

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