#388020#388020

#388020 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.148 H 139.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#388020
RGBrgb(56, 128, 32)
HSLhsl(105, 60%, 31%)
HSVhsv(105, 75%, 50%)
CMYKcmyk(56.3%, 0%, 75%, 49.8%)
CIE-LABlab(47.47, -40.65, 42.83)
CIE-LCHlch(47.47, 59.05, 133.51°)
OKLaboklab(53.37% -0.1119 0.0968)
OKLCHoklch(53.37% 0.148 139.1)
XYZxyz(9.6104, 16.3826, 4.0219)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388020 #682080
analogous
#688020 #388020 #208038
triadic
#388020 #203880 #802038
tetradic
#388020 #206880 #682080 #803820
square
#388020 #206880 #682080 #803820
split-complementary
#388020 #382080 #802068
monochromatic
#0D1E08 #234F14 #388020 #4DB12C #6BD149

Accessibility & contrast

On white

4.91
#388020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#388020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388020
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388020#FFFFFF#000000##FFFFFF
##3880201.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#317C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #388020;
/* rgb */ color: rgb(56, 128, 32);
/* oklch */ color: oklch(53.4% 0.148 139.1);
Tailwind
colors: {
  custom: {
    50: '#77a562',
    500: '#388020',
    950: '#000000',
  },
}
SCSS
$custom: #388020;
$custom-light: #77a562;
$custom-dark: #000000;
JSON
{
  "hex": "#388020",
  "rgb": {
    "r": 56,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 105,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.14795,
    "h": 139.1
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#388020
secondary
#9849B3
accent
#45E3BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #388020

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

Preview Lab → · Contrast checker → · Palette generator →

#388020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva