#51642E#51642E

#51642E is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.4% C 0.082 H 125.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#51642E
RGBrgb(81, 100, 46)
HSLhsl(81, 37%, 29%)
HSVhsv(81, 54%, 39%)
CMYKcmyk(19%, 0%, 54%, 60.8%)
CIE-LABlab(39.68, -16.91, 28.03)
CIE-LCHlch(39.68, 32.74, 121.10°)
OKLaboklab(47.42% -0.0474 0.0667)
OKLCHoklch(47.42% 0.082 125.4)
XYZxyz(8.4436, 11.0609, 4.2744)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51642E #412E64
analogous
#645C2E #51642E #36642E
triadic
#51642E #2E5164 #642E51
tetradic
#51642E #2E645C #412E64 #642E36
square
#51642E #2E645C #412E64 #642E36
split-complementary
#51642E #2E3664 #5C2E64
monochromatic
#11150A #2F3A1B #51642E #738E41 #93B35A

Accessibility & contrast

On white

6.54
#51642E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#51642E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51642E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51642E#FFFFFF#000000##FFFFFF
##51642E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E29
Deuteranopia (green-blind)
#665D31
Tritanopia (blue-blind)
#546058
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #51642e;
/* rgb */ color: rgb(81, 100, 46);
/* oklch */ color: oklch(47.4% 0.082 125.4);
Tailwind
colors: {
  custom: {
    50: '#839068',
    500: '#51642e',
    950: '#000000',
  },
}
SCSS
$custom: #51642e;
$custom-light: #839068;
$custom-dark: #000000;
JSON
{
  "hex": "#51642e",
  "rgb": {
    "r": 81,
    "g": 100,
    "b": 46
  },
  "hsl": {
    "h": 81.111,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47417,
    "c": 0.0818,
    "h": 125.4
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#51642E
secondary
#6E5896
accent
#5BCD83
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #51642E

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

Preview Lab → · Contrast checker → · Palette generator →

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