#51602F#51602F

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

Color values

HEX#51602F
RGBrgb(81, 96, 47)
HSLhsl(78, 34%, 28%)
HSVhsv(78, 51%, 38%)
CMYKcmyk(15.6%, 0%, 51%, 62.4%)
CIE-LABlab(38.41, -14.60, 25.94)
CIE-LCHlch(38.41, 29.77, 119.36°)
OKLaboklab(46.4% -0.0408 0.0622)
OKLCHoklch(46.4% 0.074 123.3)
XYZxyz(8.0893, 10.3203, 4.2546)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51602F #3E2F60
analogous
#60562F #51602F #38602F
triadic
#51602F #2F5160 #602F51
tetradic
#51602F #2F6056 #3E2F60 #602F38
square
#51602F #2F6056 #3E2F60 #602F38
split-complementary
#51602F #2F3860 #562F60
monochromatic
#11150A #2E371B #51602F #748943 #95AF5B

Accessibility & contrast

On white

6.85
#51602F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #51602F
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51602F#FFFFFF#000000##FFFFFF
##51602F1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2B
Deuteranopia (green-blind)
#635A32
Tritanopia (blue-blind)
#545C55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #51602f;
/* rgb */ color: rgb(81, 96, 47);
/* oklch */ color: oklch(46.4% 0.074 123.3);
Tailwind
colors: {
  custom: {
    50: '#838d69',
    500: '#51602f',
    950: '#000000',
  },
}
SCSS
$custom: #51602f;
$custom-light: #838d69;
$custom-dark: #000000;
JSON
{
  "hex": "#51602f",
  "rgb": {
    "r": 81,
    "g": 96,
    "b": 47
  },
  "hsl": {
    "h": 78.367,
    "s": 34.266,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.07436,
    "h": 123.3
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#51602F
secondary
#6A5992
accent
#5DCA7F
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #51602F

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

Preview Lab → · Contrast checker → · Palette generator →

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