#51650F#51650F

#51650F is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.4% C 0.109 H 122.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#51650F
RGBrgb(81, 101, 15)
HSLhsl(74, 74%, 23%)
HSVhsv(74, 85%, 40%)
CMYKcmyk(19.8%, 0%, 85.1%, 60.4%)
CIE-LABlab(39.73, -19.90, 41.92)
CIE-LCHlch(39.73, 46.40, 115.39°)
OKLaboklab(47.37% -0.0587 0.0916)
OKLCHoklch(47.37% 0.109 122.7)
XYZxyz(8.1334, 11.0911, 2.1642)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51650F #230F65
analogous
#654E0F #51650F #26650F
triadic
#51650F #0F5165 #650F51
tetradic
#51650F #0F654E #230F65 #650F26
square
#51650F #0F654E #230F65 #650F26
split-complementary
#51650F #0F2665 #4E0F65
monochromatic
#151B04 #263007 #51650F #7C9A17 #A6D01F

Accessibility & contrast

On white

6.53
#51650F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#51650F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51650F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51650F#FFFFFF#000000##FFFFFF
##51650F1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#695E18
Tritanopia (blue-blind)
#565F55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #51650f;
/* rgb */ color: rgb(81, 101, 15);
/* oklch */ color: oklch(47.4% 0.109 122.7);
Tailwind
colors: {
  custom: {
    50: '#859157',
    500: '#51650f',
    950: '#000000',
  },
}
SCSS
$custom: #51650f;
$custom-light: #859157;
$custom-dark: #000000;
JSON
{
  "hex": "#51650f",
  "rgb": {
    "r": 81,
    "g": 101,
    "b": 15
  },
  "hsl": {
    "h": 73.953,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.10874,
    "h": 122.7
  },
  "luminance": 0.11091
}

Semantic roles & 50–950 ramp

primary
#51650F
secondary
#4B329E
accent
#37F162
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #51650F

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

Preview Lab → · Contrast checker → · Palette generator →

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