#51631E#51631E

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

Color values

HEX#51631E
RGBrgb(81, 99, 30)
HSLhsl(76, 53%, 25%)
HSVhsv(76, 70%, 39%)
CMYKcmyk(18.2%, 0%, 69.7%, 61.2%)
CIE-LABlab(39.18, -17.93, 35.56)
CIE-LCHlch(39.18, 39.82, 116.76°)
OKLaboklab(46.96% -0.0519 0.0808)
OKLCHoklch(46.96% 0.096 122.7)
XYZxyz(8.0896, 10.7667, 2.8800)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51631E #301E63
analogous
#63521E #51631E #2F631E
triadic
#51631E #1E5163 #631E51
tetradic
#51631E #1E6352 #301E63 #631E2F
square
#51631E #1E6352 #301E63 #631E2F
split-complementary
#51631E #1E2F63 #521E63
monochromatic
#131707 #2B3410 #51631E #77922C #9EC13A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #51631e;
/* rgb */ color: rgb(81, 99, 30);
/* oklch */ color: oklch(47.0% 0.096 122.7);
Tailwind
colors: {
  custom: {
    50: '#848f5e',
    500: '#51631e',
    950: '#000000',
  },
}
SCSS
$custom: #51631e;
$custom-light: #848f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#51631e",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 30
  },
  "hsl": {
    "h": 75.652,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.09603,
    "h": 122.7
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#51631E
secondary
#5B4598
accent
#4BDD71
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51631E

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

Preview Lab → · Contrast checker → · Palette generator →

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