#51631F#51631F

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

Color values

HEX#51631F
RGBrgb(81, 99, 31)
HSLhsl(76, 52%, 25%)
HSVhsv(76, 69%, 39%)
CMYKcmyk(18.2%, 0%, 68.7%, 61.2%)
CIE-LABlab(39.19, -17.85, 35.10)
CIE-LCHlch(39.19, 39.38, 116.95°)
OKLaboklab(46.97% -0.0515 0.08)
OKLCHoklch(46.97% 0.095 122.8)
XYZxyz(8.1026, 10.7719, 2.9484)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51631F #311F63
analogous
#63531F #51631F #2F631F
triadic
#51631F #1F5163 #631F51
tetradic
#51631F #1F6353 #311F63 #631F2F
square
#51631F #1F6353 #311F63 #631F2F
split-complementary
#51631F #1F2F63 #531F63
monochromatic
#131707 #2B3410 #51631F #77922E #9DC03C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #51631f;
/* rgb */ color: rgb(81, 99, 31);
/* oklch */ color: oklch(47.0% 0.095 122.8);
Tailwind
colors: {
  custom: {
    50: '#848f5e',
    500: '#51631f',
    950: '#000000',
  },
}
SCSS
$custom: #51631f;
$custom-light: #848f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#51631f",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 31
  },
  "hsl": {
    "h": 75.882,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46969,
    "c": 0.09518,
    "h": 122.8
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#51631F
secondary
#5C4698
accent
#4CDC72
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #51631F

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

Preview Lab → · Contrast checker → · Palette generator →

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