#51641F#51641F

#51641F is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.097 H 123.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#51641F
RGBrgb(81, 100, 31)
HSLhsl(77, 53%, 26%)
HSVhsv(77, 69%, 39%)
CMYKcmyk(19%, 0%, 69%, 60.8%)
CIE-LABlab(39.52, -18.38, 35.45)
CIE-LCHlch(39.52, 39.93, 117.41°)
OKLaboklab(47.23% -0.053 0.0807)
OKLCHoklch(47.23% 0.097 123.3)
XYZxyz(8.1979, 10.9626, 2.9802)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51641F #321F64
analogous
#64541F #51641F #2E641F
triadic
#51641F #1F5164 #641F51
tetradic
#51641F #1F6454 #321F64 #641F2E
square
#51641F #1F6454 #321F64 #641F2E
split-complementary
#51641F #1F2E64 #541F64
monochromatic
#131707 #2B3511 #51641F #77932D #9DC13C

Accessibility & contrast

On white

6.58
#51641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#51641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51641F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51641F#FFFFFF#000000##FFFFFF
##51641F1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E16
Deuteranopia (green-blind)
#675D24
Tritanopia (blue-blind)
#555F56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #51641f;
/* rgb */ color: rgb(81, 100, 31);
/* oklch */ color: oklch(47.2% 0.097 123.3);
Tailwind
colors: {
  custom: {
    50: '#84905f',
    500: '#51641f',
    950: '#000000',
  },
}
SCSS
$custom: #51641f;
$custom-light: #84905f;
$custom-dark: #000000;
JSON
{
  "hex": "#51641f",
  "rgb": {
    "r": 81,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 76.522,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47231,
    "c": 0.0966,
    "h": 123.3
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#51641F
secondary
#5D4698
accent
#4CDC73
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #51641F

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

Preview Lab → · Contrast checker → · Palette generator →

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