#38B242#38B242

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

Color values

HEX#38B242
RGBrgb(56, 178, 66)
HSLhsl(125, 52%, 46%)
HSVhsv(125, 69%, 70%)
CMYKcmyk(68.5%, 0%, 62.9%, 30.2%)
CIE-LABlab(64.22, -55.83, 46.42)
CIE-LCHlch(64.22, 72.61, 140.26°)
OKLaboklab(67.3% -0.1511 0.1084)
OKLCHoklch(67.3% 0.186 144.3)
XYZxyz(18.5335, 33.0729, 10.5602)
Luminance0.3307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B242 #B238A8
analogous
#6BB238 #38B242 #38B27F
triadic
#38B242 #4238B2 #B24238
tetradic
#38B242 #386BB2 #B238A8 #B27F38
square
#38B242 #386BB2 #B238A8 #B27F38
split-complementary
#38B242 #7F38B2 #B2386B
monochromatic
#1B551F #298331 #38B242 #5CCC65 #8ADA91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38B242#FFFFFF#000000##000000
##38B2421.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)
#B5A235
Deuteranopia (green-blind)
#A7984C
Tritanopia (blue-blind)
#11AD9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #38b242;
/* rgb */ color: rgb(56, 178, 66);
/* oklch */ color: oklch(67.3% 0.186 144.3);
Tailwind
colors: {
  custom: {
    50: '#7fca7b',
    500: '#38b242',
    950: '#000000',
  },
}
SCSS
$custom: #38b242;
$custom-light: #7fca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#38b242",
  "rgb": {
    "r": 56,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 124.918,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67302,
    "c": 0.18601,
    "h": 144.3
  },
  "luminance": 0.33075
}

Semantic roles & 50–950 ramp

primary
#38B242
secondary
#C581BF
accent
#4CD0DC
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38B242

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

Preview Lab → · Contrast checker → · Palette generator →

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