#38B240#38B240

#38B240 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.3% C 0.188 H 144.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#38B240
RGBrgb(56, 178, 64)
HSLhsl(124, 52%, 46%)
HSVhsv(124, 69%, 70%)
CMYKcmyk(68.5%, 0%, 64%, 30.2%)
CIE-LABlab(64.20, -56.06, 47.28)
CIE-LCHlch(64.20, 73.33, 139.85°)
OKLaboklab(67.28% -0.1518 0.1101)
OKLCHoklch(67.28% 0.188 144.1)
XYZxyz(18.4755, 33.0497, 10.2551)
Luminance0.3305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B240 #B238AA
analogous
#6DB238 #38B240 #38B27D
triadic
#38B240 #4038B2 #B24038
tetradic
#38B240 #386DB2 #B238AA #B27D38
square
#38B240 #386DB2 #B238AA #B27D38
split-complementary
#38B240 #7D38B2 #B2386D
monochromatic
#1B551F #29832F #38B240 #5CCC63 #8ADA8F

Accessibility & contrast

On white

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

On black

7.61
#38B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B240
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B240#FFFFFF#000000##000000
##38B2401.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A232
Deuteranopia (green-blind)
#A7984A
Tritanopia (blue-blind)
#13AD9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #38b240;
/* rgb */ color: rgb(56, 178, 64);
/* oklch */ color: oklch(67.3% 0.188 144.1);
Tailwind
colors: {
  custom: {
    50: '#7fca79',
    500: '#38b240',
    950: '#000000',
  },
}
SCSS
$custom: #38b240;
$custom-light: #7fca79;
$custom-dark: #000000;
JSON
{
  "hex": "#38b240",
  "rgb": {
    "r": 56,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 123.934,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6728,
    "c": 0.18752,
    "h": 144.1
  },
  "luminance": 0.33052
}

Semantic roles & 50–950 ramp

primary
#38B240
secondary
#C581C0
accent
#4CD2DC
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38B240

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

Preview Lab → · Contrast checker → · Palette generator →

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