#388C2A#388C2A

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

Color values

HEX#388C2A
RGBrgb(56, 140, 42)
HSLhsl(111, 54%, 36%)
HSVhsv(111, 70%, 55%)
CMYKcmyk(60%, 0%, 70%, 45.1%)
CIE-LABlab(51.57, -44.47, 43.00)
CIE-LCHlch(51.57, 61.86, 135.96°)
OKLaboklab(56.77% -0.1216 0.0985)
OKLCHoklch(56.77% 0.157 141)
XYZxyz(11.4263, 19.7631, 5.4026)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C2A #7E2A8C
analogous
#698C2A #388C2A #2A8C4D
triadic
#388C2A #2A388C #8C2A38
tetradic
#388C2A #2A698C #7E2A8C #8C4D2A
square
#388C2A #2A698C #7E2A8C #8C4D2A
split-complementary
#388C2A #4D2A8C #8C2A69
monochromatic
#122E0E #255D1C #388C2A #4BBB38 #71D061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388C2A#FFFFFF#000000##000000
##388C2A1.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)
#907F1C
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#2C8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c2a;
/* rgb */ color: rgb(56, 140, 42);
/* oklch */ color: oklch(56.8% 0.157 141.0);
Tailwind
colors: {
  custom: {
    50: '#78ae69',
    500: '#388c2a',
    950: '#000000',
  },
}
SCSS
$custom: #388c2a;
$custom-light: #78ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#388c2a",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 111.429,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.15651,
    "h": 141
  },
  "luminance": 0.19764
}

Semantic roles & 50–950 ramp

primary
#388C2A
secondary
#A95CB5
accent
#4BDDC8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #388C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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