#51602A#51602A

#51602A is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.3% C 0.080 H 122.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#51602A
RGBrgb(81, 96, 42)
HSLhsl(77, 39%, 27%)
HSVhsv(77, 56%, 38%)
CMYKcmyk(15.6%, 0%, 56.3%, 62.4%)
CIE-LABlab(38.34, -15.17, 28.61)
CIE-LCHlch(38.34, 32.38, 117.94°)
OKLaboklab(46.32% -0.0429 0.0675)
OKLCHoklch(46.32% 0.08 122.4)
XYZxyz(7.9942, 10.2822, 3.7536)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51602A #392A60
analogous
#60542A #51602A #36602A
triadic
#51602A #2A5160 #602A51
tetradic
#51602A #2A6054 #392A60 #602A36
square
#51602A #2A6054 #392A60 #602A36
split-complementary
#51602A #2A3660 #542A60
monochromatic
#121509 #2D3517 #51602A #758B3D #98B351

Accessibility & contrast

On white

6.87
#51602A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #51602A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51602A#FFFFFF#000000##FFFFFF
##51602A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51602a;
/* rgb */ color: rgb(81, 96, 42);
/* oklch */ color: oklch(46.3% 0.080 122.4);
Tailwind
colors: {
  custom: {
    50: '#838d65',
    500: '#51602a',
    950: '#000000',
  },
}
SCSS
$custom: #51602a;
$custom-light: #838d65;
$custom-dark: #000000;
JSON
{
  "hex": "#51602a",
  "rgb": {
    "r": 81,
    "g": 96,
    "b": 42
  },
  "hsl": {
    "h": 76.667,
    "s": 39.13,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46324,
    "c": 0.08002,
    "h": 122.4
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#51602A
secondary
#655392
accent
#59CF7A
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #51602A

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

Preview Lab → · Contrast checker → · Palette generator →

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