#51662F#51662F

#51662F is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 48.0% C 0.084 H 126.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#51662F
RGBrgb(81, 102, 47)
HSLhsl(83, 37%, 29%)
HSVhsv(83, 54%, 40%)
CMYKcmyk(20.6%, 0%, 53.9%, 60%)
CIE-LABlab(40.34, -17.87, 28.28)
CIE-LCHlch(40.34, 33.45, 122.30°)
OKLaboklab(47.95% -0.05 0.0673)
OKLCHoklch(47.95% 0.084 126.6)
XYZxyz(8.6578, 11.4572, 4.4441)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51662F #442F66
analogous
#66602F #51662F #36662F
triadic
#51662F #2F5166 #662F51
tetradic
#51662F #2F6660 #442F66 #662F36
square
#51662F #2F6660 #442F66 #662F36
split-complementary
#51662F #2F3666 #602F66
monochromatic
#11150A #303C1C #51662F #729042 #92B45C

Accessibility & contrast

On white

6.38
#51662F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#51662F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51662F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51662F#FFFFFF#000000##FFFFFF
##51662F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602A
Deuteranopia (green-blind)
#685F32
Tritanopia (blue-blind)
#546259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #51662f;
/* rgb */ color: rgb(81, 102, 47);
/* oklch */ color: oklch(48.0% 0.084 126.6);
Tailwind
colors: {
  custom: {
    50: '#839169',
    500: '#51662f',
    950: '#000000',
  },
}
SCSS
$custom: #51662f;
$custom-light: #839169;
$custom-dark: #000000;
JSON
{
  "hex": "#51662f",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 47
  },
  "hsl": {
    "h": 82.909,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.08384,
    "h": 126.6
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#51662F
secondary
#715998
accent
#5BCD86
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #51662F

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

Preview Lab → · Contrast checker → · Palette generator →

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