#38B248#38B248

#38B248 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.4% C 0.181 H 145.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#38B248
RGBrgb(56, 178, 72)
HSLhsl(128, 52%, 46%)
HSVhsv(128, 69%, 70%)
CMYKcmyk(68.5%, 0%, 59.6%, 30.2%)
CIE-LABlab(64.28, -55.13, 43.76)
CIE-LCHlch(64.28, 70.39, 141.56°)
OKLaboklab(67.37% -0.149 0.1033)
OKLCHoklch(67.37% 0.181 145.3)
XYZxyz(18.7197, 33.1474, 11.5412)
Luminance0.3315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B248 #B238A2
analogous
#65B238 #38B248 #38B285
triadic
#38B248 #4838B2 #B24838
tetradic
#38B248 #3865B2 #B238A2 #B28538
square
#38B248 #3865B2 #B238A2 #B28538
split-complementary
#38B248 #8538B2 #B23865
monochromatic
#1B5522 #298335 #38B248 #5CCC6A #8ADA95

Accessibility & contrast

On white

2.75
#38B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#38B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B248
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B248#FFFFFF#000000##000000
##38B2481.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23D
Deuteranopia (green-blind)
#A69851
Tritanopia (blue-blind)
#0DAE9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #38b248;
/* rgb */ color: rgb(56, 178, 72);
/* oklch */ color: oklch(67.4% 0.181 145.3);
Tailwind
colors: {
  custom: {
    50: '#7fca7e',
    500: '#38b248',
    950: '#000000',
  },
}
SCSS
$custom: #38b248;
$custom-light: #7fca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#38b248",
  "rgb": {
    "r": 56,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 127.869,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67371,
    "c": 0.18126,
    "h": 145.3
  },
  "luminance": 0.33149
}

Semantic roles & 50–950 ramp

primary
#38B248
secondary
#C581BC
accent
#4CC9DC
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #38B248

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

Preview Lab → · Contrast checker → · Palette generator →

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