#51912E#51912E

#51912E is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.3% C 0.148 H 136.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#51912E
RGBrgb(81, 145, 46)
HSLhsl(99, 52%, 37%)
HSVhsv(99, 68%, 57%)
CMYKcmyk(44.1%, 0%, 68.3%, 43.1%)
CIE-LABlab(54.23, -38.61, 44.44)
CIE-LCHlch(54.23, 58.87, 130.98°)
OKLaboklab(59.25% -0.1071 0.1018)
OKLCHoklch(59.25% 0.148 136.5)
XYZxyz(14.0115, 22.1966, 6.1303)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51912E #6E2E91
analogous
#82912E #51912E #2E913D
triadic
#51912E #2E5191 #912E51
tetradic
#51912E #2E8291 #6E2E91 #913D2E
square
#51912E #2E8291 #6E2E91 #913D2E
split-complementary
#51912E #3D2E91 #912E82
monochromatic
#1D3411 #37631F #51912E #6BBF3D #8ED06A

Accessibility & contrast

On white

3.86
#51912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#51912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51912E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51912E#FFFFFF#000000##000000
##51912E1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968520
Deuteranopia (green-blind)
#8D8037
Tritanopia (blue-blind)
#4E8C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #51912e;
/* rgb */ color: rgb(81, 145, 46);
/* oklch */ color: oklch(59.3% 0.148 136.5);
Tailwind
colors: {
  custom: {
    50: '#87b26c',
    500: '#51912e',
    950: '#000000',
  },
}
SCSS
$custom: #51912e;
$custom-light: #87b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#51912e",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 98.788,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59251,
    "c": 0.14773,
    "h": 136.5
  },
  "luminance": 0.22197
}

Semantic roles & 50–950 ramp

primary
#51912E
secondary
#9964B7
accent
#4DDBA9
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51912E

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

Preview Lab → · Contrast checker → · Palette generator →

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