#51651D#51651D

#51651D is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.5% C 0.100 H 123.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#51651D
RGBrgb(81, 101, 29)
HSLhsl(77, 55%, 25%)
HSVhsv(77, 71%, 40%)
CMYKcmyk(19.8%, 0%, 71.3%, 60.4%)
CIE-LABlab(39.82, -19.07, 36.67)
CIE-LCHlch(39.82, 41.34, 117.47°)
OKLaboklab(47.47% -0.0551 0.083)
OKLCHoklch(47.47% 0.1 123.6)
XYZxyz(8.2689, 11.1453, 2.8778)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51651D #311D65
analogous
#65551D #51651D #2D651D
triadic
#51651D #1D5165 #651D51
tetradic
#51651D #1D6555 #311D65 #651D2D
square
#51651D #1D6555 #311D65 #651D2D
split-complementary
#51651D #1D2D65 #551D65
monochromatic
#131807 #2B350F #51651D #77952B #9DC438

Accessibility & contrast

On white

6.50
#51651D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#51651D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51651D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51651D#FFFFFF#000000##FFFFFF
##51651D1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E13
Deuteranopia (green-blind)
#685E23
Tritanopia (blue-blind)
#556056
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #51651d;
/* rgb */ color: rgb(81, 101, 29);
/* oklch */ color: oklch(47.5% 0.100 123.6);
Tailwind
colors: {
  custom: {
    50: '#84915d',
    500: '#51651d',
    950: '#000000',
  },
}
SCSS
$custom: #51651d;
$custom-light: #84915d;
$custom-dark: #000000;
JSON
{
  "hex": "#51651d",
  "rgb": {
    "r": 81,
    "g": 101,
    "b": 29
  },
  "hsl": {
    "h": 76.667,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47473,
    "c": 0.09965,
    "h": 123.6
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#51651D
secondary
#5C449A
accent
#49DF73
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51651D

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

Preview Lab → · Contrast checker → · Palette generator →

#51651D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva