#51761D#51761D

#51761D is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 52.0% C 0.123 H 129.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#51761D
RGBrgb(81, 118, 29)
HSLhsl(85, 61%, 29%)
HSVhsv(85, 75%, 46%)
CMYKcmyk(31.4%, 0%, 75.4%, 53.7%)
CIE-LABlab(45.35, -27.67, 42.27)
CIE-LCHlch(45.35, 50.52, 123.21°)
OKLaboklab(51.95% -0.0787 0.0948)
OKLCHoklch(51.95% 0.123 129.7)
XYZxyz(10.0935, 14.7946, 3.4860)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51761D #421D76
analogous
#766F1D #51761D #25761D
triadic
#51761D #1D5176 #761D51
tetradic
#51761D #1D766F #421D76 #761D25
square
#51761D #1D766F #421D76 #761D25
split-complementary
#51761D #1D2576 #6F1D76
monochromatic
#111906 #2F4511 #51761D #73A729 #93D03E

Accessibility & contrast

On white

5.30
#51761D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#51761D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51761D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51761D#FFFFFF#000000##FFFFFF
##51761D1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0D
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#537165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #51761d;
/* rgb */ color: rgb(81, 118, 29);
/* oklch */ color: oklch(52.0% 0.123 129.7);
Tailwind
colors: {
  custom: {
    50: '#859d60',
    500: '#51761d',
    950: '#000000',
  },
}
SCSS
$custom: #51761d;
$custom-light: #859d60;
$custom-dark: #000000;
JSON
{
  "hex": "#51761d",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 29
  },
  "hsl": {
    "h": 84.944,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.12317,
    "h": 129.7
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#51761D
secondary
#6F45AA
accent
#44E486
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51761D

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

Preview Lab → · Contrast checker → · Palette generator →

#51761D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva