#51942E#51942E

#51942E is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.0% C 0.152 H 136.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#51942E
RGBrgb(81, 148, 46)
HSLhsl(99, 53%, 38%)
HSVhsv(99, 69%, 58%)
CMYKcmyk(45.3%, 0%, 68.9%, 42%)
CIE-LABlab(55.20, -39.88, 45.47)
CIE-LCHlch(55.20, 60.48, 131.26°)
OKLaboklab(60.04% -0.1105 0.1039)
OKLCHoklch(60.04% 0.152 136.8)
XYZxyz(14.4760, 23.1255, 6.2851)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51942E #712E94
analogous
#84942E #51942E #2E943E
triadic
#51942E #2E5194 #942E51
tetradic
#51942E #2E8494 #712E94 #943E2E
square
#51942E #2E8494 #712E94 #943E2E
split-complementary
#51942E #3E2E94 #942E84
monochromatic
#1E3711 #37651F #51942E #6BC33D #8ED16B

Accessibility & contrast

On white

3.73
#51942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#51942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51942E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51942E#FFFFFF#000000##000000
##51942E1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998820
Deuteranopia (green-blind)
#908237
Tritanopia (blue-blind)
#4E8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #51942e;
/* rgb */ color: rgb(81, 148, 46);
/* oklch */ color: oklch(60.0% 0.152 136.8);
Tailwind
colors: {
  custom: {
    50: '#88b46c',
    500: '#51942e',
    950: '#000000',
  },
}
SCSS
$custom: #51942e;
$custom-light: #88b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#51942e",
  "rgb": {
    "r": 81,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 99.412,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.15173,
    "h": 136.8
  },
  "luminance": 0.23126
}

Semantic roles & 50–950 ramp

primary
#51942E
secondary
#9C66B8
accent
#4CDCAB
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51942E

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

Preview Lab → · Contrast checker → · Palette generator →

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