#51622B#51622B

#51622B is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.9% C 0.082 H 123.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#51622B
RGBrgb(81, 98, 43)
HSLhsl(79, 39%, 28%)
HSVhsv(79, 56%, 38%)
CMYKcmyk(17.3%, 0%, 56.1%, 61.6%)
CIE-LABlab(39.00, -16.16, 28.84)
CIE-LCHlch(39.00, 33.06, 119.27°)
OKLaboklab(46.86% -0.0456 0.0682)
OKLCHoklch(46.86% 0.082 123.8)
XYZxyz(8.1971, 10.6591, 3.9106)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51622B #3C2B62
analogous
#62572B #51622B #36622B
triadic
#51622B #2B5162 #622B51
tetradic
#51622B #2B6257 #3C2B62 #622B36
square
#51622B #2B6257 #3C2B62 #622B36
split-complementary
#51622B #2B3662 #572B62
monochromatic
#121509 #2E3718 #51622B #748D3E #96B454

Accessibility & contrast

On white

6.71
#51622B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#51622B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51622B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51622B#FFFFFF#000000##FFFFFF
##51622B1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C26
Deuteranopia (green-blind)
#655C2E
Tritanopia (blue-blind)
#545E56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #51622b;
/* rgb */ color: rgb(81, 98, 43);
/* oklch */ color: oklch(46.9% 0.082 123.8);
Tailwind
colors: {
  custom: {
    50: '#838e66',
    500: '#51622b',
    950: '#000000',
  },
}
SCSS
$custom: #51622b;
$custom-light: #838e66;
$custom-dark: #000000;
JSON
{
  "hex": "#51622b",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 43
  },
  "hsl": {
    "h": 78.545,
    "s": 39.007,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46855,
    "c": 0.082,
    "h": 123.8
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#51622B
secondary
#685594
accent
#59CF7D
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #51622B

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

Preview Lab → · Contrast checker → · Palette generator →

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