#51612E#51612E

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

Color values

HEX#51612E
RGBrgb(81, 97, 46)
HSLhsl(79, 36%, 28%)
HSVhsv(79, 53%, 38%)
CMYKcmyk(16.5%, 0%, 52.6%, 62%)
CIE-LABlab(38.72, -15.27, 26.87)
CIE-LCHlch(38.72, 30.91, 119.61°)
OKLaboklab(46.64% -0.0428 0.0641)
OKLCHoklch(46.64% 0.077 123.7)
XYZxyz(8.1612, 10.4959, 4.1802)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51612E #3E2E61
analogous
#61572E #51612E #37612E
triadic
#51612E #2E5161 #612E51
tetradic
#51612E #2E6157 #3E2E61 #612E37
square
#51612E #2E6157 #3E2E61 #612E37
split-complementary
#51612E #2E3761 #572E61
monochromatic
#11150A #2E371A #51612E #748B42 #95B059

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51612E#FFFFFF#000000##FFFFFF
##51612E1.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)
#665C2A
Deuteranopia (green-blind)
#645B31
Tritanopia (blue-blind)
#545D55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #51612e;
/* rgb */ color: rgb(81, 97, 46);
/* oklch */ color: oklch(46.6% 0.077 123.7);
Tailwind
colors: {
  custom: {
    50: '#838e68',
    500: '#51612e',
    950: '#000000',
  },
}
SCSS
$custom: #51612e;
$custom-light: #838e68;
$custom-dark: #000000;
JSON
{
  "hex": "#51612e",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 46
  },
  "hsl": {
    "h": 78.824,
    "s": 35.664,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46641,
    "c": 0.07709,
    "h": 123.7
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#51612E
secondary
#6A5893
accent
#5CCC7F
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #51612E

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

Preview Lab → · Contrast checker → · Palette generator →

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