#38B271#38B271

#38B271 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.0% C 0.144 H 155.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#38B271
RGBrgb(56, 178, 113)
HSLhsl(148, 52%, 46%)
HSVhsv(148, 69%, 70%)
CMYKcmyk(68.5%, 0%, 36.5%, 30.2%)
CIE-LABlab(64.86, -48.54, 23.72)
CIE-LCHlch(64.86, 54.02, 153.95°)
OKLaboklab(68.04% -0.1314 0.0595)
OKLCHoklch(68.04% 0.144 155.6)
XYZxyz(20.5300, 33.8715, 21.0755)
Luminance0.3387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B271 #B23879
analogous
#3CB238 #38B271 #38B2AE
triadic
#38B271 #7138B2 #B27138
tetradic
#38B271 #383CB2 #B23879 #B2AE38
square
#38B271 #383CB2 #B23879 #B2AE38
split-complementary
#38B271 #AE38B2 #B2383C
monochromatic
#1B5536 #298353 #38B271 #5CCC90 #8ADAB0

Accessibility & contrast

On white

2.70
#38B271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#38B271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B271
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B271#FFFFFF#000000##000000
##38B2711.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A46D
Deuteranopia (green-blind)
#A29975
Tritanopia (blue-blind)
#00B0A1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #38b271;
/* rgb */ color: rgb(56, 178, 113);
/* oklch */ color: oklch(68.0% 0.144 155.6);
Tailwind
colors: {
  custom: {
    50: '#7eca9a',
    500: '#38b271',
    950: '#000000',
  },
}
SCSS
$custom: #38b271;
$custom-light: #7eca9a;
$custom-dark: #000000;
JSON
{
  "hex": "#38b271",
  "rgb": {
    "r": 56,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 148.033,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68039,
    "c": 0.14423,
    "h": 155.6
  },
  "luminance": 0.33874
}

Semantic roles & 50–950 ramp

primary
#38B271
secondary
#C581A5
accent
#4C99DC
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #38B271

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

Preview Lab → · Contrast checker → · Palette generator →

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