#38B042#38B042

#38B042 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.8% C 0.184 H 144.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#38B042
RGBrgb(56, 176, 66)
HSLhsl(125, 52%, 45%)
HSVhsv(125, 68%, 69%)
CMYKcmyk(68.2%, 0%, 62.5%, 31%)
CIE-LABlab(63.58, -55.13, 45.69)
CIE-LCHlch(63.58, 71.61, 140.35°)
OKLaboklab(66.77% -0.1492 0.1069)
OKLCHoklch(66.77% 0.184 144.4)
XYZxyz(18.1384, 32.2828, 10.4285)
Luminance0.3229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B042 #B038A6
analogous
#6AB038 #38B042 #38B07E
triadic
#38B042 #4238B0 #B04238
tetradic
#38B042 #386AB0 #B038A6 #B07E38
square
#38B042 #386AB0 #B038A6 #B07E38
split-complementary
#38B042 #7E38B0 #B0386A
monochromatic
#1A531F #298231 #38B042 #5BCB64 #89D990

Accessibility & contrast

On white

2.82
#38B042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#38B042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B042
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B042#FFFFFF#000000##000000
##38B0421.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A036
Deuteranopia (green-blind)
#A5964B
Tritanopia (blue-blind)
#13AB99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #38b042;
/* rgb */ color: rgb(56, 176, 66);
/* oklch */ color: oklch(66.8% 0.184 144.4);
Tailwind
colors: {
  custom: {
    50: '#7fc97a',
    500: '#38b042',
    950: '#000000',
  },
}
SCSS
$custom: #38b042;
$custom-light: #7fc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#38b042",
  "rgb": {
    "r": 56,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 125,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66768,
    "c": 0.18356,
    "h": 144.4
  },
  "luminance": 0.32285
}

Semantic roles & 50–950 ramp

primary
#38B042
secondary
#C480BE
accent
#4DCFDB
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38B042

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

Preview Lab → · Contrast checker → · Palette generator →

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