#38B138#38B138

#38B138 is a light, vivid green. Relative luminance 0.326; OKLCH L 66.9% C 0.192 H 143.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#38B138
RGBrgb(56, 177, 56)
HSLhsl(120, 52%, 46%)
HSVhsv(120, 68%, 69%)
CMYKcmyk(68.4%, 0%, 68.4%, 30.6%)
CIE-LABlab(63.81, -56.53, 50.24)
CIE-LCHlch(63.81, 75.63, 138.37°)
OKLaboklab(66.93% -0.1535 0.1154)
OKLCHoklch(66.93% 0.192 143.1)
XYZxyz(18.0658, 32.5686, 9.0749)
Luminance0.3257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B138 #B138B1
analogous
#74B138 #38B138 #38B174
triadic
#38B138 #3838B1 #B13838
tetradic
#38B138 #3874B1 #B138B1 #B17438
square
#38B138 #3874B1 #B138B1 #B17438
split-complementary
#38B138 #7438B1 #B13874
monochromatic
#1B541B #298329 #38B138 #5BCB5B #8ADA8A

Accessibility & contrast

On white

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

On black

7.51
#38B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B138
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B138#FFFFFF#000000##000000
##38B1381.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A127
Deuteranopia (green-blind)
#A79743
Tritanopia (blue-blind)
#17AC98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #38b138;
/* rgb */ color: rgb(56, 177, 56);
/* oklch */ color: oklch(66.9% 0.192 143.1);
Tailwind
colors: {
  custom: {
    50: '#7fc975',
    500: '#38b138',
    950: '#000000',
  },
}
SCSS
$custom: #38b138;
$custom-light: #7fc975;
$custom-dark: #000000;
JSON
{
  "hex": "#38b138",
  "rgb": {
    "r": 56,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 120,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.66934,
    "c": 0.19206,
    "h": 143.1
  },
  "luminance": 0.32571
}

Semantic roles & 50–950 ramp

primary
#38B138
secondary
#C481C4
accent
#4CDBDB
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38B138

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

Preview Lab → · Contrast checker → · Palette generator →

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