#51641A#51641A

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

Color values

HEX#51641A
RGBrgb(81, 100, 26)
HSLhsl(75, 59%, 25%)
HSVhsv(75, 74%, 39%)
CMYKcmyk(19%, 0%, 74%, 60.8%)
CIE-LABlab(39.48, -18.75, 37.62)
CIE-LCHlch(39.48, 42.03, 116.50°)
OKLaboklab(47.18% -0.0546 0.0845)
OKLCHoklch(47.18% 0.101 122.9)
XYZxyz(8.1371, 10.9382, 2.6597)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51641A #2D1A64
analogous
#64521A #51641A #2C641A
triadic
#51641A #1A5164 #641A51
tetradic
#51641A #1A6452 #2D1A64 #641A2C
square
#51641A #1A6452 #2D1A64 #641A2C
split-complementary
#51641A #1A2C64 #521A64
monochromatic
#141806 #2A330D #51641A #789527 #A0C533

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51641A#FFFFFF#000000##FFFFFF
##51641A1.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)
#6A5D0E
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#555F55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #51641a;
/* rgb */ color: rgb(81, 100, 26);
/* oklch */ color: oklch(47.2% 0.101 122.9);
Tailwind
colors: {
  custom: {
    50: '#84905c',
    500: '#51641a',
    950: '#000000',
  },
}
SCSS
$custom: #51641a;
$custom-light: #84905c;
$custom-dark: #000000;
JSON
{
  "hex": "#51641a",
  "rgb": {
    "r": 81,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 75.405,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47184,
    "c": 0.10058,
    "h": 122.9
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#51641A
secondary
#57409A
accent
#46E26E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51641A

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

Preview Lab → · Contrast checker → · Palette generator →

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