#38B151#38B151

#38B151 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.2% C 0.172 H 147.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#38B151
RGBrgb(56, 177, 81)
HSLhsl(132, 52%, 46%)
HSVhsv(132, 68%, 69%)
CMYKcmyk(68.4%, 0%, 54.2%, 30.6%)
CIE-LABlab(64.06, -53.58, 39.21)
CIE-LCHlch(64.06, 66.39, 143.80°)
OKLaboklab(67.22% -0.1445 0.094)
OKLCHoklch(67.22% 0.172 147)
XYZxyz(18.8369, 32.8771, 13.1362)
Luminance0.3288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B151 #B13898
analogous
#5BB138 #38B151 #38B18D
triadic
#38B151 #5138B1 #B15138
tetradic
#38B151 #385BB1 #B13898 #B18D38
square
#38B151 #385BB1 #B13898 #B18D38
split-complementary
#38B151 #8D38B1 #B1385B
monochromatic
#1B5426 #29833C #38B151 #5BCB72 #8ADA9A

Accessibility & contrast

On white

2.77
#38B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#38B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B151
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B151#FFFFFF#000000##000000
##38B1511.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A148
Deuteranopia (green-blind)
#A59758
Tritanopia (blue-blind)
#04AD9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #38b151;
/* rgb */ color: rgb(56, 177, 81);
/* oklch */ color: oklch(67.2% 0.172 147.0);
Tailwind
colors: {
  custom: {
    50: '#7ec984',
    500: '#38b151',
    950: '#000000',
  },
}
SCSS
$custom: #38b151;
$custom-light: #7ec984;
$custom-dark: #000000;
JSON
{
  "hex": "#38b151",
  "rgb": {
    "r": 56,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 132.397,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67223,
    "c": 0.17239,
    "h": 147
  },
  "luminance": 0.32879
}

Semantic roles & 50–950 ramp

primary
#38B151
secondary
#C481B6
accent
#4CBEDB
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #38B151

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

Preview Lab → · Contrast checker → · Palette generator →

#38B151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva