#388E18#388E18

#388E18 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.169 H 139.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#388E18
RGBrgb(56, 142, 24)
HSLhsl(104, 71%, 33%)
HSVhsv(104, 83%, 56%)
CMYKcmyk(60.6%, 0%, 83.1%, 44.3%)
CIE-LABlab(52.12, -46.55, 50.04)
CIE-LCHlch(52.12, 68.35, 132.93°)
OKLaboklab(57.19% -0.1283 0.1107)
OKLCHoklch(57.19% 0.169 139.2)
XYZxyz(11.4683, 20.2517, 4.1686)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388E18 #6E188E
analogous
#738E18 #388E18 #188E33
triadic
#388E18 #18388E #8E1838
tetradic
#388E18 #18738E #6E188E #8E3318
square
#388E18 #18738E #6E188E #8E3318
split-complementary
#388E18 #33188E #8E1873
monochromatic
#0F2506 #235A0F #388E18 #4DC221 #6CDF41

Accessibility & contrast

On white

4.16
#388E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#388E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388E18
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388E18#FFFFFF#000000##000000
##388E181.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#2E8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388e18;
/* rgb */ color: rgb(56, 142, 24);
/* oklch */ color: oklch(57.2% 0.169 139.2);
Tailwind
colors: {
  custom: {
    50: '#7ab060',
    500: '#388e18',
    950: '#000000',
  },
}
SCSS
$custom: #388e18;
$custom-light: #7ab060;
$custom-dark: #000000;
JSON
{
  "hex": "#388e18",
  "rgb": {
    "r": 56,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 103.729,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.16941,
    "h": 139.2
  },
  "luminance": 0.20253
}

Semantic roles & 50–950 ramp

primary
#388E18
secondary
#9E42C0
accent
#3AEEBD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388E18

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

Preview Lab → · Contrast checker → · Palette generator →

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