#51622A#51622A

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

Color values

HEX#51622A
RGBrgb(81, 98, 42)
HSLhsl(78, 40%, 27%)
HSVhsv(78, 57%, 38%)
CMYKcmyk(17.3%, 0%, 57.1%, 61.6%)
CIE-LABlab(38.99, -16.27, 29.36)
CIE-LCHlch(38.99, 33.57, 118.99°)
OKLaboklab(46.84% -0.046 0.0692)
OKLCHoklch(46.84% 0.083 123.6)
XYZxyz(8.1790, 10.6518, 3.8152)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51622A #3B2A62
analogous
#62572A #51622A #35622A
triadic
#51622A #2A5162 #622A51
tetradic
#51622A #2A6257 #3B2A62 #622A35
square
#51622A #2A6257 #3B2A62 #622A35
split-complementary
#51622A #2A3562 #572A62
monochromatic
#121509 #2E3718 #51622A #748D3C #97B552

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51622A#FFFFFF#000000##FFFFFF
##51622A1.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)
#675C25
Deuteranopia (green-blind)
#655C2D
Tritanopia (blue-blind)
#555D55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #51622a;
/* rgb */ color: rgb(81, 98, 42);
/* oklch */ color: oklch(46.8% 0.083 123.6);
Tailwind
colors: {
  custom: {
    50: '#838e65',
    500: '#51622a',
    950: '#000000',
  },
}
SCSS
$custom: #51622a;
$custom-light: #838e65;
$custom-dark: #000000;
JSON
{
  "hex": "#51622a",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 42
  },
  "hsl": {
    "h": 78.214,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46841,
    "c": 0.08308,
    "h": 123.6
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

primary
#51622A
secondary
#675394
accent
#58D07C
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #51622A

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

Preview Lab → · Contrast checker → · Palette generator →

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