#388A17#388A17

#388A17 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.165 H 138.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#388A17
RGBrgb(56, 138, 23)
HSLhsl(103, 71%, 32%)
HSVhsv(103, 83%, 54%)
CMYKcmyk(59.4%, 0%, 83.3%, 45.9%)
CIE-LABlab(50.78, -45.12, 49.10)
CIE-LCHlch(50.78, 66.68, 132.58°)
OKLaboklab(56.08% -0.1244 0.1086)
OKLCHoklch(56.08% 0.165 138.9)
XYZxyz(10.8736, 19.0786, 3.9200)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388A17 #69178A
analogous
#728A17 #388A17 #178A30
triadic
#388A17 #17388A #8A1738
tetradic
#388A17 #17728A #69178A #8A3017
square
#388A17 #17728A #69178A #8A3017
split-complementary
#388A17 #30178A #8A1772
monochromatic
#0D2106 #23560E #388A17 #4DBE20 #6BDF3D

Accessibility & contrast

On white

4.36
#388A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#388A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388A17
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388A17#FFFFFF#000000##000000
##388A171.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#2F8575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #388a17;
/* rgb */ color: rgb(56, 138, 23);
/* oklch */ color: oklch(56.1% 0.165 138.9);
Tailwind
colors: {
  custom: {
    50: '#79ad5f',
    500: '#388a17',
    950: '#000000',
  },
}
SCSS
$custom: #388a17;
$custom-light: #79ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#388a17",
  "rgb": {
    "r": 56,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 102.783,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56081,
    "c": 0.16514,
    "h": 138.9
  },
  "luminance": 0.1908
}

Semantic roles & 50–950 ramp

primary
#388A17
secondary
#993FBE
accent
#3AEEBA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388A17

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

Preview Lab → · Contrast checker → · Palette generator →

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