#388D19#388D19

#388D19 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.168 H 139.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#388D19
RGBrgb(56, 141, 25)
HSLhsl(104, 70%, 33%)
HSVhsv(104, 82%, 55%)
CMYKcmyk(60.3%, 0%, 82.3%, 44.7%)
CIE-LABlab(51.79, -46.12, 49.44)
CIE-LCHlch(51.79, 67.62, 133.01°)
OKLaboklab(56.92% -0.1271 0.1096)
OKLCHoklch(56.92% 0.168 139.2)
XYZxyz(11.3308, 19.9597, 4.1750)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D19 #6E198D
analogous
#728D19 #388D19 #198D34
triadic
#388D19 #19388D #8D1938
tetradic
#388D19 #19728D #6E198D #8D3419
square
#388D19 #19728D #6E198D #8D3419
split-complementary
#388D19 #34198D #8D1972
monochromatic
#0F2507 #235910 #388D19 #4DC122 #6CDE43

Accessibility & contrast

On white

4.21
#388D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#388D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388D19
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388D19#FFFFFF#000000##000000
##388D191.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#2E8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388d19;
/* rgb */ color: rgb(56, 141, 25);
/* oklch */ color: oklch(56.9% 0.168 139.2);
Tailwind
colors: {
  custom: {
    50: '#7aaf61',
    500: '#388d19',
    950: '#000000',
  },
}
SCSS
$custom: #388d19;
$custom-light: #7aaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#388d19",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 103.966,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.16777,
    "h": 139.2
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#388D19
secondary
#9E43BF
accent
#3BEDBD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388D19

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

Preview Lab → · Contrast checker → · Palette generator →

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