#38A331#38A331

#38A331 is a light, vivid green. Relative luminance 0.273; OKLCH L 63.1% C 0.180 H 142.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#38A331
RGBrgb(56, 163, 49)
HSLhsl(116, 54%, 42%)
HSVhsv(116, 70%, 64%)
CMYKcmyk(65.6%, 0%, 69.9%, 36.1%)
CIE-LABlab(59.21, -52.30, 48.20)
CIE-LCHlch(59.21, 71.12, 137.34°)
OKLaboklab(63.11% -0.1424 0.1103)
OKLCHoklch(63.11% 0.18 142.2)
XYZxyz(15.2816, 27.2554, 7.3606)
Luminance0.2726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38A331 #9C31A3
analogous
#71A331 #38A331 #31A363
triadic
#38A331 #3138A3 #A33138
tetradic
#38A331 #3171A3 #9C31A3 #A36331
square
#38A331 #3171A3 #9C31A3 #A36331
split-complementary
#38A331 #6331A3 #A33171
monochromatic
#184515 #287423 #38A331 #51C849 #7ED678

Accessibility & contrast

On white

3.26
#38A331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#38A331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38A331
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38A331#FFFFFF#000000##000000
##38A3311.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#9A8B3C
Tritanopia (blue-blind)
#229E8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #38a331;
/* rgb */ color: rgb(56, 163, 49);
/* oklch */ color: oklch(63.1% 0.180 142.2);
Tailwind
colors: {
  custom: {
    50: '#7dbf6f',
    500: '#38a331',
    950: '#000000',
  },
}
SCSS
$custom: #38a331;
$custom-light: #7dbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#38a331",
  "rgb": {
    "r": 56,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 116.316,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63107,
    "c": 0.18011,
    "h": 142.2
  },
  "luminance": 0.27257
}

Semantic roles & 50–950 ramp

primary
#38A331
secondary
#BA71BF
accent
#4BDDD4
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #38A331

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

Preview Lab → · Contrast checker → · Palette generator →

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