#388A42#388A42

#388A42 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.133 H 145.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#388A42
RGBrgb(56, 138, 66)
HSLhsl(127, 42%, 38%)
HSVhsv(127, 59%, 54%)
CMYKcmyk(59.4%, 0%, 52.2%, 45.9%)
CIE-LABlab(51.16, -40.76, 31.06)
CIE-LCHlch(51.16, 51.24, 142.69°)
OKLaboklab(56.52% -0.1104 0.075)
OKLCHoklch(56.52% 0.133 145.8)
XYZxyz(11.7020, 19.4100, 8.2830)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388A42 #8A3880
analogous
#578A38 #388A42 #388A6B
triadic
#388A42 #42388A #8A4238
tetradic
#388A42 #38578A #8A3880 #8A6B38
square
#388A42 #38578A #8A3880 #8A6B38
split-complementary
#388A42 #6B388A #8A3857
monochromatic
#153318 #265E2D #388A42 #4AB557 #75C77F

Accessibility & contrast

On white

4.30
#388A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#388A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388A42
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388A42#FFFFFF#000000##000000
##388A421.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3C
Deuteranopia (green-blind)
#817747
Tritanopia (blue-blind)
#278779
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #388a42;
/* rgb */ color: rgb(56, 138, 66);
/* oklch */ color: oklch(56.5% 0.133 145.8);
Tailwind
colors: {
  custom: {
    50: '#77ad78',
    500: '#388a42',
    950: '#000000',
  },
}
SCSS
$custom: #388a42;
$custom-light: #77ad78;
$custom-dark: #000000;
JSON
{
  "hex": "#388a42",
  "rgb": {
    "r": 56,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 127.317,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.13343,
    "h": 145.8
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#388A42
secondary
#B06EA8
accent
#56C3D2
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #388A42

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

Preview Lab → · Contrast checker → · Palette generator →

#388A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva