#51651B#51651B

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

Color values

HEX#51651B
RGBrgb(81, 101, 27)
HSLhsl(76, 58%, 25%)
HSVhsv(76, 73%, 40%)
CMYKcmyk(19.8%, 0%, 73.3%, 60.4%)
CIE-LABlab(39.81, -19.22, 37.53)
CIE-LCHlch(39.81, 42.16, 117.11°)
OKLaboklab(47.46% -0.0557 0.0845)
OKLCHoklch(47.46% 0.101 123.4)
XYZxyz(8.2449, 11.1358, 2.7517)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51651B #2F1B65
analogous
#65541B #51651B #2C651B
triadic
#51651B #1B5165 #651B51
tetradic
#51651B #1B6554 #2F1B65 #651B2C
square
#51651B #1B6554 #2F1B65 #651B2C
split-complementary
#51651B #1B2C65 #541B65
monochromatic
#131806 #2A350E #51651B #789528 #9EC635

Accessibility & contrast

On white

6.51
#51651B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #51651B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51651B#FFFFFF#000000##FFFFFF
##51651B1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51651b;
/* rgb */ color: rgb(81, 101, 27);
/* oklch */ color: oklch(47.5% 0.101 123.4);
Tailwind
colors: {
  custom: {
    50: '#84915c',
    500: '#51651b',
    950: '#000000',
  },
}
SCSS
$custom: #51651b;
$custom-light: #84915c;
$custom-dark: #000000;
JSON
{
  "hex": "#51651b",
  "rgb": {
    "r": 81,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 76.216,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47455,
    "c": 0.10121,
    "h": 123.4
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#51651B
secondary
#59419A
accent
#47E170
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51651B

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

Preview Lab → · Contrast checker → · Palette generator →

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