#51620F#51620F

#51620F is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.6% C 0.105 H 121.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#51620F
RGBrgb(81, 98, 15)
HSLhsl(72, 73%, 22%)
HSVhsv(72, 85%, 38%)
CMYKcmyk(17.3%, 0%, 84.7%, 61.6%)
CIE-LABlab(38.76, -18.31, 41.04)
CIE-LCHlch(38.76, 44.94, 114.04°)
OKLaboklab(46.58% -0.0543 0.0897)
OKLCHoklch(46.58% 0.105 121.2)
XYZxyz(7.8474, 10.5192, 2.0688)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51620F #200F62
analogous
#624A0F #51620F #28620F
triadic
#51620F #0F5162 #620F51
tetradic
#51620F #0F624A #200F62 #620F28
square
#51620F #0F624A #200F62 #620F28
split-complementary
#51620F #0F2862 #4A0F62
monochromatic
#161B04 #252D07 #51620F #7D9717 #A9CC1F

Accessibility & contrast

On white

6.77
#51620F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#51620F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51620F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51620F#FFFFFF#000000##FFFFFF
##51620F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#675B18
Tritanopia (blue-blind)
#565C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #51620f;
/* rgb */ color: rgb(81, 98, 15);
/* oklch */ color: oklch(46.6% 0.105 121.2);
Tailwind
colors: {
  custom: {
    50: '#858e56',
    500: '#51620f',
    950: '#000000',
  },
}
SCSS
$custom: #51620f;
$custom-light: #858e56;
$custom-dark: #000000;
JSON
{
  "hex": "#51620f",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 72.289,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46583,
    "c": 0.10486,
    "h": 121.2
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#51620F
secondary
#47329B
accent
#38F05D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #51620F

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

Preview Lab → · Contrast checker → · Palette generator →

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