#388C28#388C28

#388C28 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.158 H 140.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#388C28
RGBrgb(56, 140, 40)
HSLhsl(110, 56%, 35%)
HSVhsv(110, 71%, 55%)
CMYKcmyk(60%, 0%, 71.4%, 45.1%)
CIE-LABlab(51.55, -44.66, 43.82)
CIE-LCHlch(51.55, 62.56, 135.54°)
OKLaboklab(56.75% -0.1222 0.1)
OKLCHoklch(56.75% 0.158 140.7)
XYZxyz(11.3914, 19.7491, 5.2187)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C28 #7C288C
analogous
#6A8C28 #388C28 #288C4A
triadic
#388C28 #28388C #8C2838
tetradic
#388C28 #286A8C #7C288C #8C4A28
square
#388C28 #286A8C #7C288C #8C4A28
split-complementary
#388C28 #4A288C #8C286A
monochromatic
#122D0D #255C1A #388C28 #4BBC36 #70D15E

Accessibility & contrast

On white

4.24
#388C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#388C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C28
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C28#FFFFFF#000000##000000
##388C281.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#2D8778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c28;
/* rgb */ color: rgb(56, 140, 40);
/* oklch */ color: oklch(56.8% 0.158 140.7);
Tailwind
colors: {
  custom: {
    50: '#79ae68',
    500: '#388c28',
    950: '#000000',
  },
}
SCSS
$custom: #388c28;
$custom-light: #79ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#388c28",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 110.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.15791,
    "h": 140.7
  },
  "luminance": 0.1975
}

Semantic roles & 50–950 ramp

primary
#388C28
secondary
#A75AB6
accent
#49DFC7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388C28

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

Preview Lab → · Contrast checker → · Palette generator →

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