#388F18#388F18

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

Color values

HEX#388F18
RGBrgb(56, 143, 24)
HSLhsl(104, 71%, 33%)
HSVhsv(104, 83%, 56%)
CMYKcmyk(60.8%, 0%, 83.2%, 43.9%)
CIE-LABlab(52.45, -46.92, 50.35)
CIE-LCHlch(52.45, 68.82, 132.98°)
OKLaboklab(57.47% -0.1292 0.1113)
OKLCHoklch(57.47% 0.171 139.3)
XYZxyz(11.6177, 20.5506, 4.2184)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388F18 #6F188F
analogous
#738F18 #388F18 #188F34
triadic
#388F18 #18388F #8F1838
tetradic
#388F18 #18738F #6F188F #8F3418
square
#388F18 #18738F #6F188F #8F3418
split-complementary
#388F18 #34188F #8F1873
monochromatic
#0F2606 #235B0F #388F18 #4DC321 #6CDF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388F18#FFFFFF#000000##000000
##388F181.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)
#938200
Deuteranopia (green-blind)
#897A27
Tritanopia (blue-blind)
#2E8A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #388f18;
/* rgb */ color: rgb(56, 143, 24);
/* oklch */ color: oklch(57.5% 0.171 139.3);
Tailwind
colors: {
  custom: {
    50: '#7ab161',
    500: '#388f18',
    950: '#000000',
  },
}
SCSS
$custom: #388f18;
$custom-light: #7ab161;
$custom-dark: #000000;
JSON
{
  "hex": "#388f18",
  "rgb": {
    "r": 56,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 103.866,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.17058,
    "h": 139.3
  },
  "luminance": 0.20552
}

Semantic roles & 50–950 ramp

primary
#388F18
secondary
#9E43C0
accent
#3AEEBE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #388F18

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

Preview Lab → · Contrast checker → · Palette generator →

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