#38B142#38B142

#38B142 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.0% C 0.185 H 144.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#38B142
RGBrgb(56, 177, 66)
HSLhsl(125, 52%, 46%)
HSVhsv(125, 68%, 69%)
CMYKcmyk(68.4%, 0%, 62.7%, 30.6%)
CIE-LABlab(63.90, -55.48, 46.06)
CIE-LCHlch(63.90, 72.11, 140.30°)
OKLaboklab(67.04% -0.1502 0.1076)
OKLCHoklch(67.04% 0.185 144.4)
XYZxyz(18.3352, 32.6764, 10.4941)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B142 #B138A7
analogous
#6AB138 #38B142 #38B17E
triadic
#38B142 #4238B1 #B14238
tetradic
#38B142 #386AB1 #B138A7 #B17E38
square
#38B142 #386AB1 #B138A7 #B17E38
split-complementary
#38B142 #7E38B1 #B1386A
monochromatic
#1B541F #298331 #38B142 #5BCB64 #8ADA90

Accessibility & contrast

On white

2.79
#38B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#38B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B142
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B142#FFFFFF#000000##000000
##38B1421.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A135
Deuteranopia (green-blind)
#A6974B
Tritanopia (blue-blind)
#12AC99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #38b142;
/* rgb */ color: rgb(56, 177, 66);
/* oklch */ color: oklch(67.0% 0.185 144.4);
Tailwind
colors: {
  custom: {
    50: '#7fc97b',
    500: '#38b142',
    950: '#000000',
  },
}
SCSS
$custom: #38b142;
$custom-light: #7fc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#38b142",
  "rgb": {
    "r": 56,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 124.959,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67035,
    "c": 0.18478,
    "h": 144.4
  },
  "luminance": 0.32678
}

Semantic roles & 50–950 ramp

primary
#38B142
secondary
#C481BE
accent
#4CD0DB
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38B142

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

Preview Lab → · Contrast checker → · Palette generator →

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