#388C20#388C20

#388C20 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.163 H 139.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#388C20
RGBrgb(56, 140, 32)
HSLhsl(107, 63%, 34%)
HSVhsv(107, 77%, 55%)
CMYKcmyk(60%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.50, -45.30, 46.84)
CIE-LCHlch(51.50, 65.16, 134.04°)
OKLaboklab(56.69% -0.1244 0.1052)
OKLCHoklch(56.69% 0.163 139.8)
XYZxyz(11.2692, 19.7002, 4.5749)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C20 #74208C
analogous
#6E8C20 #388C20 #208C3E
triadic
#388C20 #20388C #8C2038
tetradic
#388C20 #206E8C #74208C #8C3E20
square
#388C20 #206E8C #74208C #8C3E20
split-complementary
#388C20 #3E208C #8C206E
monochromatic
#102809 #245A15 #388C20 #4CBE2B #6ED750

Accessibility & contrast

On white

4.25
#388C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#388C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C20
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C20#FFFFFF#000000##000000
##388C201.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#2E8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c20;
/* rgb */ color: rgb(56, 140, 32);
/* oklch */ color: oklch(56.7% 0.163 139.8);
Tailwind
colors: {
  custom: {
    50: '#79ae64',
    500: '#388c20',
    950: '#000000',
  },
}
SCSS
$custom: #388c20;
$custom-light: #79ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#388c20",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 106.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.16294,
    "h": 139.8
  },
  "luminance": 0.19701
}

Semantic roles & 50–950 ramp

primary
#388C20
secondary
#A24EBA
accent
#42E6C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388C20

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

Preview Lab → · Contrast checker → · Palette generator →

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