#51912D#51912D

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

Color values

HEX#51912D
RGBrgb(81, 145, 45)
HSLhsl(98, 53%, 37%)
HSVhsv(98, 69%, 57%)
CMYKcmyk(44.1%, 0%, 69%, 43.1%)
CIE-LABlab(54.23, -38.69, 44.86)
CIE-LCHlch(54.23, 59.24, 130.78°)
OKLaboklab(59.24% -0.1074 0.1025)
OKLCHoklch(59.24% 0.148 136.3)
XYZxyz(13.9920, 22.1888, 6.0277)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51912D #6D2D91
analogous
#83912D #51912D #2D913B
triadic
#51912D #2D5191 #912D51
tetradic
#51912D #2D8391 #6D2D91 #913B2D
square
#51912D #2D8391 #6D2D91 #913B2D
split-complementary
#51912D #3B2D91 #912D83
monochromatic
#1D3410 #37621F #51912D #6BC03B #8ED068

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51912D#FFFFFF#000000##000000
##51912D1.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)
#96851F
Deuteranopia (green-blind)
#8D8036
Tritanopia (blue-blind)
#4E8C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #51912d;
/* rgb */ color: rgb(81, 145, 45);
/* oklch */ color: oklch(59.2% 0.148 136.3);
Tailwind
colors: {
  custom: {
    50: '#87b26b',
    500: '#51912d',
    950: '#000000',
  },
}
SCSS
$custom: #51912d;
$custom-light: #87b26b;
$custom-dark: #000000;
JSON
{
  "hex": "#51912d",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 98.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59241,
    "c": 0.14847,
    "h": 136.3
  },
  "luminance": 0.2219
}

Semantic roles & 50–950 ramp

primary
#51912D
secondary
#9963B7
accent
#4CDCA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51912D

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

Preview Lab → · Contrast checker → · Palette generator →

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