#388F21#388F21

#388F21 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.166 H 140.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#388F21
RGBrgb(56, 143, 33)
HSLhsl(107, 63%, 35%)
HSVhsv(107, 77%, 56%)
CMYKcmyk(60.8%, 0%, 76.9%, 43.9%)
CIE-LABlab(52.50, -46.35, 47.48)
CIE-LCHlch(52.50, 66.35, 134.31°)
OKLaboklab(57.52% -0.1272 0.1066)
OKLCHoklch(57.52% 0.166 140)
XYZxyz(11.7273, 20.5944, 4.7957)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388F21 #78218F
analogous
#6F8F21 #388F21 #218F41
triadic
#388F21 #21388F #8F2138
tetradic
#388F21 #216F8F #78218F #8F4121
square
#388F21 #216F8F #78218F #8F4121
split-complementary
#388F21 #41218F #8F216F
monochromatic
#112C0A #255D16 #388F21 #4BC12C #6FD753

Accessibility & contrast

On white

4.10
#388F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#388F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388F21
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388F21#FFFFFF#000000##000000
##388F211.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938209
Deuteranopia (green-blind)
#887B2D
Tritanopia (blue-blind)
#2D8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #388f21;
/* rgb */ color: rgb(56, 143, 33);
/* oklch */ color: oklch(57.5% 0.166 140.0);
Tailwind
colors: {
  custom: {
    50: '#7ab165',
    500: '#388f21',
    950: '#000000',
  },
}
SCSS
$custom: #388f21;
$custom-light: #7ab165;
$custom-dark: #000000;
JSON
{
  "hex": "#388f21",
  "rgb": {
    "r": 56,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 107.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.16601,
    "h": 140
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#388F21
secondary
#A551BB
accent
#42E6C3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #388F21

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

Preview Lab → · Contrast checker → · Palette generator →

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