#51891E#51891E

#51891E is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.0% C 0.148 H 133.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#51891E
RGBrgb(81, 137, 30)
HSLhsl(91, 64%, 33%)
HSVhsv(91, 78%, 54%)
CMYKcmyk(40.9%, 0%, 78.1%, 46.3%)
CIE-LABlab(51.53, -36.33, 47.94)
CIE-LCHlch(51.53, 60.15, 127.16°)
OKLaboklab(57% -0.1021 0.1068)
OKLCHoklch(57% 0.148 133.7)
XYZxyz(12.5731, 19.7338, 4.3746)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51891E #561E89
analogous
#86891E #51891E #1E8921
triadic
#51891E #1E5189 #891E51
tetradic
#51891E #1E8689 #561E89 #89211E
square
#51891E #1E8689 #561E89 #89211E
split-complementary
#51891E #211E89 #891E86
monochromatic
#162508 #335713 #51891E #6FBB29 #8DD74A

Accessibility & contrast

On white

4.25
#51891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#51891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51891E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51891E#FFFFFF#000000##000000
##51891E1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#518375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #51891e;
/* rgb */ color: rgb(81, 137, 30);
/* oklch */ color: oklch(57.0% 0.148 133.7);
Tailwind
colors: {
  custom: {
    50: '#87ac63',
    500: '#51891e',
    950: '#000000',
  },
}
SCSS
$custom: #51891e;
$custom-light: #87ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#51891e",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 91.402,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57003,
    "c": 0.14774,
    "h": 133.7
  },
  "luminance": 0.19734
}

Semantic roles & 50–950 ramp

primary
#51891E
secondary
#8449BA
accent
#41E798
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #51891E

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

Preview Lab → · Contrast checker → · Palette generator →

#51891E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva