#388E28#388E28

#388E28 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.160 H 140.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#388E28
RGBrgb(56, 142, 40)
HSLhsl(111, 56%, 36%)
HSVhsv(111, 72%, 56%)
CMYKcmyk(60.6%, 0%, 71.8%, 44.3%)
CIE-LABlab(52.22, -45.42, 44.52)
CIE-LCHlch(52.22, 63.59, 135.57°)
OKLaboklab(57.3% -0.1243 0.1014)
OKLCHoklch(57.3% 0.16 140.8)
XYZxyz(11.6863, 20.3389, 5.3170)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388E28 #7E288E
analogous
#6B8E28 #388E28 #288E4B
triadic
#388E28 #28388E #8E2838
tetradic
#388E28 #286B8E #7E288E #8E4B28
square
#388E28 #286B8E #7E288E #8E4B28
split-complementary
#388E28 #4B288E #8E286B
monochromatic
#122F0D #255E1B #388E28 #4BBE35 #71D25F

Accessibility & contrast

On white

4.14
#388E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#388E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388E28
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388E28#FFFFFF#000000##000000
##388E281.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#2C897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #388e28;
/* rgb */ color: rgb(56, 142, 40);
/* oklch */ color: oklch(57.3% 0.160 140.8);
Tailwind
colors: {
  custom: {
    50: '#79b068',
    500: '#388e28',
    950: '#000000',
  },
}
SCSS
$custom: #388e28;
$custom-light: #79b068;
$custom-dark: #000000;
JSON
{
  "hex": "#388e28",
  "rgb": {
    "r": 56,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 110.588,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57303,
    "c": 0.16041,
    "h": 140.8
  },
  "luminance": 0.2034
}

Semantic roles & 50–950 ramp

primary
#388E28
secondary
#A95BB7
accent
#48DFC8
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388E28

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

Preview Lab → · Contrast checker → · Palette generator →

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