#38B158#38B158

#38B158 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.3% C 0.166 H 148.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#38B158
RGBrgb(56, 177, 88)
HSLhsl(136, 52%, 46%)
HSVhsv(136, 68%, 69%)
CMYKcmyk(68.4%, 0%, 50.3%, 30.6%)
CIE-LABlab(64.15, -52.55, 35.85)
CIE-LCHlch(64.15, 63.61, 145.70°)
OKLaboklab(67.33% -0.1416 0.0869)
OKLCHoklch(67.33% 0.166 148.5)
XYZxyz(19.1130, 32.9876, 14.5906)
Luminance0.3299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B158 #B13891
analogous
#54B138 #38B158 #38B194
triadic
#38B158 #5838B1 #B15838
tetradic
#38B158 #3854B1 #B13891 #B19438
square
#38B158 #3854B1 #B13891 #B19438
split-complementary
#38B158 #9438B1 #B13854
monochromatic
#1B542A #298341 #38B158 #5BCB79 #8ADA9F

Accessibility & contrast

On white

2.76
#38B158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#38B158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B158
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B158#FFFFFF#000000##000000
##38B1581.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A251
Deuteranopia (green-blind)
#A4975E
Tritanopia (blue-blind)
#00AD9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #38b158;
/* rgb */ color: rgb(56, 177, 88);
/* oklch */ color: oklch(67.3% 0.166 148.5);
Tailwind
colors: {
  custom: {
    50: '#7ec989',
    500: '#38b158',
    950: '#000000',
  },
}
SCSS
$custom: #38b158;
$custom-light: #7ec989;
$custom-dark: #000000;
JSON
{
  "hex": "#38b158",
  "rgb": {
    "r": 56,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 135.868,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67326,
    "c": 0.16614,
    "h": 148.5
  },
  "luminance": 0.3299
}

Semantic roles & 50–950 ramp

primary
#38B158
secondary
#C481B2
accent
#4CB6DB
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #38B158

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

Preview Lab → · Contrast checker → · Palette generator →

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