#51761A#51761A

#51761A is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.125 H 129.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#51761A
RGBrgb(81, 118, 26)
HSLhsl(84, 64%, 28%)
HSVhsv(84, 78%, 46%)
CMYKcmyk(31.4%, 0%, 78%, 53.7%)
CIE-LABlab(45.33, -27.86, 43.39)
CIE-LCHlch(45.33, 51.56, 122.71°)
OKLaboklab(51.93% -0.0795 0.0966)
OKLCHoklch(51.93% 0.125 129.4)
XYZxyz(10.0582, 14.7805, 3.3001)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51761A #3F1A76
analogous
#766D1A #51761A #23761A
triadic
#51761A #1A5176 #761A51
tetradic
#51761A #1A766D #3F1A76 #761A23
square
#51761A #1A766D #3F1A76 #761A23
split-complementary
#51761A #1A2376 #6D1A76
monochromatic
#111906 #2F440F #51761A #73A825 #94D337

Accessibility & contrast

On white

5.31
#51761A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #51761A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51761A#FFFFFF#000000##FFFFFF
##51761A1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D06
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#537164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #51761a;
/* rgb */ color: rgb(81, 118, 26);
/* oklch */ color: oklch(51.9% 0.125 129.4);
Tailwind
colors: {
  custom: {
    50: '#859d5e',
    500: '#51761a',
    950: '#000000',
  },
}
SCSS
$custom: #51761a;
$custom-light: #859d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#51761a",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 26
  },
  "hsl": {
    "h": 84.13,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51932,
    "c": 0.12509,
    "h": 129.4
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#51761A
secondary
#6C41AB
accent
#41E784
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51761A

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

Preview Lab → · Contrast checker → · Palette generator →

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