#51612D#51612D

#51612D is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.6% C 0.078 H 123.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#51612D
RGBrgb(81, 97, 45)
HSLhsl(78, 37%, 28%)
HSVhsv(78, 54%, 38%)
CMYKcmyk(16.5%, 0%, 53.6%, 62%)
CIE-LABlab(38.70, -15.39, 27.41)
CIE-LCHlch(38.70, 31.43, 119.31°)
OKLaboklab(46.63% -0.0432 0.0652)
OKLCHoklch(46.63% 0.078 123.5)
XYZxyz(8.1417, 10.4881, 4.0776)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51612D #3D2D61
analogous
#61572D #51612D #37612D
triadic
#51612D #2D5161 #612D51
tetradic
#51612D #2D6157 #3D2D61 #612D37
square
#51612D #2D6157 #3D2D61 #612D37
split-complementary
#51612D #2D3761 #572D61
monochromatic
#11150A #2E371A #51612D #748B40 #95B157

Accessibility & contrast

On white

6.78
#51612D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#51612D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51612D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51612D#FFFFFF#000000##FFFFFF
##51612D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C28
Deuteranopia (green-blind)
#645B30
Tritanopia (blue-blind)
#545D55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #51612d;
/* rgb */ color: rgb(81, 97, 45);
/* oklch */ color: oklch(46.6% 0.078 123.5);
Tailwind
colors: {
  custom: {
    50: '#838e67',
    500: '#51612d',
    950: '#000000',
  },
}
SCSS
$custom: #51612d;
$custom-light: #838e67;
$custom-dark: #000000;
JSON
{
  "hex": "#51612d",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 45
  },
  "hsl": {
    "h": 78.462,
    "s": 36.62,
    "l": 27.843
  },
  "oklch": {
    "l": 0.46626,
    "c": 0.07823,
    "h": 123.5
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#51612D
secondary
#695793
accent
#5BCD7E
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #51612D

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

Preview Lab → · Contrast checker → · Palette generator →

#51612D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva