#388F17#388F17

#388F17 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.171 H 139.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#388F17
RGBrgb(56, 143, 23)
HSLhsl(104, 72%, 33%)
HSVhsv(104, 84%, 56%)
CMYKcmyk(60.8%, 0%, 83.9%, 43.9%)
CIE-LABlab(52.45, -46.97, 50.63)
CIE-LCHlch(52.45, 69.07, 132.85°)
OKLaboklab(57.46% -0.1294 0.1118)
OKLCHoklch(57.46% 0.171 139.2)
XYZxyz(11.6075, 20.5465, 4.1646)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388F17 #6E178F
analogous
#748F17 #388F17 #178F32
triadic
#388F17 #17388F #8F1738
tetradic
#388F17 #17748F #6E178F #8F3217
square
#388F17 #17748F #6E178F #8F3217
split-complementary
#388F17 #32178F #8F1774
monochromatic
#0F2606 #235A0F #388F17 #4DC41F #6CE040

Accessibility & contrast

On white

4.11
#388F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#388F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388F17
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388F17#FFFFFF#000000##000000
##388F171.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897A26
Tritanopia (blue-blind)
#2E8A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #388f17;
/* rgb */ color: rgb(56, 143, 23);
/* oklch */ color: oklch(57.5% 0.171 139.2);
Tailwind
colors: {
  custom: {
    50: '#7ab160',
    500: '#388f17',
    950: '#000000',
  },
}
SCSS
$custom: #388f17;
$custom-light: #7ab160;
$custom-dark: #000000;
JSON
{
  "hex": "#388f17",
  "rgb": {
    "r": 56,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 103.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.17101,
    "h": 139.2
  },
  "luminance": 0.20548
}

Semantic roles & 50–950 ramp

primary
#388F17
secondary
#9E41C1
accent
#39EFBD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #388F17

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

Preview Lab → · Contrast checker → · Palette generator →

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