#51622F#51622F

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

Color values

HEX#51622F
RGBrgb(81, 98, 47)
HSLhsl(80, 35%, 28%)
HSVhsv(80, 52%, 38%)
CMYKcmyk(17.3%, 0%, 52%, 61.6%)
CIE-LABlab(39.05, -15.70, 26.73)
CIE-LCHlch(39.05, 31.00, 120.43°)
OKLaboklab(46.92% -0.0439 0.0639)
OKLCHoklch(46.92% 0.078 124.5)
XYZxyz(8.2741, 10.6899, 4.3162)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51622F #402F62
analogous
#62592F #51622F #37622F
triadic
#51622F #2F5162 #622F51
tetradic
#51622F #2F6259 #402F62 #622F37
square
#51622F #2F6259 #402F62 #622F37
split-complementary
#51622F #2F3762 #592F62
monochromatic
#11150A #2F391B #51622F #738B43 #94B05B

Accessibility & contrast

On white

6.69
#51622F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#51622F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51622F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51622F#FFFFFF#000000##FFFFFF
##51622F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51622f;
/* rgb */ color: rgb(81, 98, 47);
/* oklch */ color: oklch(46.9% 0.078 124.5);
Tailwind
colors: {
  custom: {
    50: '#838e69',
    500: '#51622f',
    950: '#000000',
  },
}
SCSS
$custom: #51622f;
$custom-light: #838e69;
$custom-dark: #000000;
JSON
{
  "hex": "#51622f",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 47
  },
  "hsl": {
    "h": 80,
    "s": 35.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46915,
    "c": 0.07752,
    "h": 124.5
  },
  "luminance": 0.1069
}

Semantic roles & 50–950 ramp

primary
#51622F
secondary
#6D5994
accent
#5DCB81
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #51622F

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

Preview Lab → · Contrast checker → · Palette generator →

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