#51952D#51952D

#51952D is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.3% C 0.154 H 136.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#51952D
RGBrgb(81, 149, 45)
HSLhsl(99, 54%, 38%)
HSVhsv(99, 70%, 58%)
CMYKcmyk(45.6%, 0%, 69.8%, 41.6%)
CIE-LABlab(55.52, -40.39, 46.21)
CIE-LCHlch(55.52, 61.38, 131.15°)
OKLaboklab(60.3% -0.112 0.1054)
OKLCHoklch(60.3% 0.154 136.7)
XYZxyz(14.6140, 23.4328, 6.2350)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51952D #712D95
analogous
#85952D #51952D #2D953D
triadic
#51952D #2D5195 #952D51
tetradic
#51952D #2D8595 #712D95 #953D2D
square
#51952D #2D8595 #712D95 #953D2D
split-complementary
#51952D #3D2D95 #952D85
monochromatic
#1E3711 #37661F #51952D #6BC43B #8ED26A

Accessibility & contrast

On white

3.69
#51952D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#51952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51952D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51952D#FFFFFF#000000##000000
##51952D1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891E
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#4E9080
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #51952d;
/* rgb */ color: rgb(81, 149, 45);
/* oklch */ color: oklch(60.3% 0.154 136.7);
Tailwind
colors: {
  custom: {
    50: '#88b56c',
    500: '#51952d',
    950: '#000000',
  },
}
SCSS
$custom: #51952d;
$custom-light: #88b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#51952d",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 99.231,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.15377,
    "h": 136.7
  },
  "luminance": 0.23434
}

Semantic roles & 50–950 ramp

primary
#51952D
secondary
#9C65B9
accent
#4BDDAA
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51952D

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

Preview Lab → · Contrast checker → · Palette generator →

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