#51602C#51602C

#51602C is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.4% C 0.078 H 122.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#51602C
RGBrgb(81, 96, 44)
HSLhsl(77, 37%, 27%)
HSVhsv(77, 54%, 38%)
CMYKcmyk(15.6%, 0%, 54.2%, 62.4%)
CIE-LABlab(38.37, -14.95, 27.55)
CIE-LCHlch(38.37, 31.35, 118.48°)
OKLaboklab(46.35% -0.0421 0.0654)
OKLCHoklch(46.35% 0.078 122.7)
XYZxyz(8.0309, 10.2969, 3.9468)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51602C #3B2C60
analogous
#60552C #51602C #37602C
triadic
#51602C #2C5160 #602C51
tetradic
#51602C #2C6055 #3B2C60 #602C37
square
#51602C #2C6055 #3B2C60 #602C37
split-complementary
#51602C #2C3760 #552C60
monochromatic
#12150A #2E3619 #51602C #748A3F #97B155

Accessibility & contrast

On white

6.86
#51602C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#51602C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51602C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51602C#FFFFFF#000000##FFFFFF
##51602C1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B27
Deuteranopia (green-blind)
#635A2F
Tritanopia (blue-blind)
#555C54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #51602c;
/* rgb */ color: rgb(81, 96, 44);
/* oklch */ color: oklch(46.4% 0.078 122.7);
Tailwind
colors: {
  custom: {
    50: '#838d67',
    500: '#51602c',
    950: '#000000',
  },
}
SCSS
$custom: #51602c;
$custom-light: #838d67;
$custom-dark: #000000;
JSON
{
  "hex": "#51602c",
  "rgb": {
    "r": 81,
    "g": 96,
    "b": 44
  },
  "hsl": {
    "h": 77.308,
    "s": 37.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46353,
    "c": 0.07781,
    "h": 122.7
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#51602C
secondary
#675692
accent
#5BCD7C
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #51602C

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

Preview Lab → · Contrast checker → · Palette generator →

#51602C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva