#38A642#38A642

#38A642 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.1% C 0.171 H 144.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#38A642
RGBrgb(56, 166, 66)
HSLhsl(125, 50%, 44%)
HSVhsv(125, 66%, 65%)
CMYKcmyk(66.3%, 0%, 60.2%, 34.9%)
CIE-LABlab(60.34, -51.56, 42.00)
CIE-LCHlch(60.34, 66.50, 140.83°)
OKLaboklab(64.09% -0.1395 0.0989)
OKLCHoklch(64.09% 0.171 144.7)
XYZxyz(16.2494, 28.5049, 9.7988)
Luminance0.2851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38A642 #A6389C
analogous
#65A638 #38A642 #38A679
triadic
#38A642 #4238A6 #A64238
tetradic
#38A642 #3865A6 #A6389C #A67938
square
#38A642 #3865A6 #A6389C #A67938
split-complementary
#38A642 #7938A6 #A63865
monochromatic
#194A1E #297830 #38A642 #55C660 #83D58B

Accessibility & contrast

On white

3.13
#38A642 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#38A642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38A642
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38A642#FFFFFF#000000##000000
##38A6421.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99737
Deuteranopia (green-blind)
#9C8E4A
Tritanopia (blue-blind)
#1BA290
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #38a642;
/* rgb */ color: rgb(56, 166, 66);
/* oklch */ color: oklch(64.1% 0.171 144.7);
Tailwind
colors: {
  custom: {
    50: '#7cc17a',
    500: '#38a642',
    950: '#000000',
  },
}
SCSS
$custom: #38a642;
$custom-light: #7cc17a;
$custom-dark: #000000;
JSON
{
  "hex": "#38a642",
  "rgb": {
    "r": 56,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 125.455,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.64093,
    "c": 0.17107,
    "h": 144.7
  },
  "luminance": 0.28507
}

Semantic roles & 50–950 ramp

primary
#38A642
secondary
#BF7BB9
accent
#4FCDD9
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #38A642

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

Preview Lab → · Contrast checker → · Palette generator →

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