#51640F#51640F

#51640F is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.1% C 0.107 H 122.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#51640F
RGBrgb(81, 100, 15)
HSLhsl(73, 74%, 23%)
HSVhsv(73, 85%, 39%)
CMYKcmyk(19%, 0%, 85%, 60.8%)
CIE-LABlab(39.41, -19.37, 41.63)
CIE-LCHlch(39.41, 45.91, 114.95°)
OKLaboklab(47.11% -0.0572 0.0909)
OKLCHoklch(47.11% 0.107 122.2)
XYZxyz(8.0369, 10.8981, 2.1320)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51640F #220F64
analogous
#644D0F #51640F #26640F
triadic
#51640F #0F5164 #640F51
tetradic
#51640F #0F644D #220F64 #640F26
square
#51640F #0F644D #220F64 #640F26
split-complementary
#51640F #0F2664 #4D0F64
monochromatic
#161B04 #262F07 #51640F #7C9917 #A7CE1F

Accessibility & contrast

On white

6.60
#51640F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#51640F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51640F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51640F#FFFFFF#000000##FFFFFF
##51640F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#685D18
Tritanopia (blue-blind)
#565E55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #51640f;
/* rgb */ color: rgb(81, 100, 15);
/* oklch */ color: oklch(47.1% 0.107 122.2);
Tailwind
colors: {
  custom: {
    50: '#859056',
    500: '#51640f',
    950: '#000000',
  },
}
SCSS
$custom: #51640f;
$custom-light: #859056;
$custom-dark: #000000;
JSON
{
  "hex": "#51640f",
  "rgb": {
    "r": 81,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 73.412,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47108,
    "c": 0.10745,
    "h": 122.2
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#51640F
secondary
#4A329D
accent
#37F161
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #51640F

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

Preview Lab → · Contrast checker → · Palette generator →

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