#51B338#51B338

#51B338 is a light, vivid green. Relative luminance 0.343; OKLCH L 68.3% C 0.184 H 139.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#51B338
RGBrgb(81, 179, 56)
HSLhsl(108, 52%, 46%)
HSVhsv(108, 69%, 70%)
CMYKcmyk(54.7%, 0%, 68.7%, 29.8%)
CIE-LABlab(65.18, -51.40, 51.92)
CIE-LCHlch(65.18, 73.05, 134.71°)
OKLaboklab(68.27% -0.141 0.1188)
OKLCHoklch(68.27% 0.184 139.9)
XYZxyz(20.2264, 34.2734, 9.2902)
Luminance0.3427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B338 #9A38B3
analogous
#8EB338 #51B338 #38B35C
triadic
#51B338 #3851B3 #B33851
tetradic
#51B338 #388EB3 #9A38B3 #B35C38
square
#51B338 #388EB3 #9A38B3 #B35C38
split-complementary
#51B338 #5C38B3 #B3388E
monochromatic
#27561B #3C8429 #51B338 #73CC5C #9BDB8B

Accessibility & contrast

On white

2.67
#51B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#51B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B338
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B338#FFFFFF#000000##000000
##51B3381.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A326
Deuteranopia (green-blind)
#AB9B43
Tritanopia (blue-blind)
#46AD9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51b338;
/* rgb */ color: rgb(81, 179, 56);
/* oklch */ color: oklch(68.3% 0.184 139.9);
Tailwind
colors: {
  custom: {
    50: '#8bca75',
    500: '#51b338',
    950: '#000000',
  },
}
SCSS
$custom: #51b338;
$custom-light: #8bca75;
$custom-dark: #000000;
JSON
{
  "hex": "#51b338",
  "rgb": {
    "r": 81,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 107.805,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.68271,
    "c": 0.18439,
    "h": 139.9
  },
  "luminance": 0.34275
}

Semantic roles & 50–950 ramp

primary
#51B338
secondary
#B782C5
accent
#4CDCBF
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #51B338

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

Preview Lab → · Contrast checker → · Palette generator →

#51B338 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva