#51641B#51641B

#51641B is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.2% C 0.100 H 122.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#51641B
RGBrgb(81, 100, 27)
HSLhsl(76, 57%, 25%)
HSVhsv(76, 73%, 39%)
CMYKcmyk(19%, 0%, 73%, 60.8%)
CIE-LABlab(39.48, -18.69, 37.20)
CIE-LCHlch(39.48, 41.63, 116.67°)
OKLaboklab(47.19% -0.0543 0.0838)
OKLCHoklch(47.19% 0.1 122.9)
XYZxyz(8.1484, 10.9428, 2.7196)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51641B #2E1B64
analogous
#64521B #51641B #2D641B
triadic
#51641B #1B5164 #641B51
tetradic
#51641B #1B6452 #2E1B64 #641B2D
square
#51641B #1B6452 #2E1B64 #641B2D
split-complementary
#51641B #1B2D64 #521B64
monochromatic
#141807 #2A340E #51641B #789428 #9FC435

Accessibility & contrast

On white

6.59
#51641B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #51641B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51641B#FFFFFF#000000##FFFFFF
##51641B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E10
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#555F55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #51641b;
/* rgb */ color: rgb(81, 100, 27);
/* oklch */ color: oklch(47.2% 0.100 122.9);
Tailwind
colors: {
  custom: {
    50: '#84905c',
    500: '#51641b',
    950: '#000000',
  },
}
SCSS
$custom: #51641b;
$custom-light: #84905c;
$custom-dark: #000000;
JSON
{
  "hex": "#51641b",
  "rgb": {
    "r": 81,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 75.616,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47193,
    "c": 0.09982,
    "h": 122.9
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#51641B
secondary
#584199
accent
#47E16F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51641B

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

Preview Lab → · Contrast checker → · Palette generator →

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