#51952A#51952A

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

Color values

HEX#51952A
RGBrgb(81, 149, 42)
HSLhsl(98, 56%, 37%)
HSVhsv(98, 72%, 58%)
CMYKcmyk(45.6%, 0%, 71.8%, 41.6%)
CIE-LABlab(55.49, -40.64, 47.40)
CIE-LCHlch(55.49, 62.44, 130.60°)
OKLaboklab(60.27% -0.1129 0.1075)
OKLCHoklch(60.27% 0.156 136.4)
XYZxyz(14.5583, 23.4105, 5.9416)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51952A #6E2A95
analogous
#86952A #51952A #2A9539
triadic
#51952A #2A5195 #952A51
tetradic
#51952A #2A8695 #6E2A95 #95392A
square
#51952A #2A8695 #6E2A95 #95392A
split-complementary
#51952A #392A95 #952A86
monochromatic
#1D360F #37651D #51952A #6BC537 #8ED466

Accessibility & contrast

On white

3.70
#51952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#51952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51952A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51952A#FFFFFF#000000##000000
##51952A1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8819
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#4E8F80
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #51952a;
/* rgb */ color: rgb(81, 149, 42);
/* oklch */ color: oklch(60.3% 0.156 136.4);
Tailwind
colors: {
  custom: {
    50: '#88b56a',
    500: '#51952a',
    950: '#000000',
  },
}
SCSS
$custom: #51952a;
$custom-light: #88b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#51952a",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 98.131,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60272,
    "c": 0.15584,
    "h": 136.4
  },
  "luminance": 0.23411
}

Semantic roles & 50–950 ramp

primary
#51952A
secondary
#9961BA
accent
#48DFA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51952A

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

Preview Lab → · Contrast checker → · Palette generator →

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