#51621C#51621C

#51621C is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.096 H 122.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#51621C
RGBrgb(81, 98, 28)
HSLhsl(75, 56%, 25%)
HSVhsv(75, 71%, 38%)
CMYKcmyk(17.3%, 0%, 71.4%, 61.6%)
CIE-LABlab(38.84, -17.54, 36.10)
CIE-LCHlch(38.84, 40.14, 115.91°)
OKLaboklab(46.68% -0.051 0.0817)
OKLCHoklch(46.68% 0.096 122)
XYZxyz(7.9707, 10.5685, 2.7184)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51621C #2D1C62
analogous
#62501C #51621C #2E621C
triadic
#51621C #1C5162 #621C51
tetradic
#51621C #1C6250 #2D1C62 #621C2E
square
#51621C #1C6250 #2D1C62 #621C2E
split-complementary
#51621C #1C2E62 #501C62
monochromatic
#141807 #2A320E #51621C #78922A #A0C137

Accessibility & contrast

On white

6.74
#51621C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#51621C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51621C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51621C#FFFFFF#000000##FFFFFF
##51621C1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C12
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#555D54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #51621c;
/* rgb */ color: rgb(81, 98, 28);
/* oklch */ color: oklch(46.7% 0.096 122.0);
Tailwind
colors: {
  custom: {
    50: '#848e5d',
    500: '#51621c',
    950: '#000000',
  },
}
SCSS
$custom: #51621c;
$custom-light: #848e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#51621c",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 28
  },
  "hsl": {
    "h": 74.571,
    "s": 55.556,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.09627,
    "h": 122
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

primary
#51621C
secondary
#574397
accent
#49DF6D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51621C

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

Preview Lab → · Contrast checker → · Palette generator →

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