#51761B#51761B

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

Color values

HEX#51761B
RGBrgb(81, 118, 27)
HSLhsl(84, 63%, 28%)
HSVhsv(84, 77%, 46%)
CMYKcmyk(31.4%, 0%, 77.1%, 53.7%)
CIE-LABlab(45.34, -27.80, 43.02)
CIE-LCHlch(45.34, 51.22, 122.87°)
OKLaboklab(51.94% -0.0792 0.096)
OKLCHoklch(51.94% 0.124 129.5)
XYZxyz(10.0696, 14.7850, 3.3600)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51761B #401B76
analogous
#766D1B #51761B #23761B
triadic
#51761B #1B5176 #761B51
tetradic
#51761B #1B766D #401B76 #761B23
square
#51761B #1B766D #401B76 #761B23
split-complementary
#51761B #1B2376 #6D1B76
monochromatic
#111906 #2F4410 #51761B #73A826 #94D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51761B#FFFFFF#000000##FFFFFF
##51761B1.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)
#7C6D08
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#537165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #51761b;
/* rgb */ color: rgb(81, 118, 27);
/* oklch */ color: oklch(51.9% 0.124 129.5);
Tailwind
colors: {
  custom: {
    50: '#859d5f',
    500: '#51761b',
    950: '#000000',
  },
}
SCSS
$custom: #51761b;
$custom-light: #859d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#51761b",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 84.396,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.12447,
    "h": 129.5
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#51761B
secondary
#6D42AA
accent
#42E685
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51761B

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

Preview Lab → · Contrast checker → · Palette generator →

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