#388A22#388A22

#388A22 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.159 H 139.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#388A22
RGBrgb(56, 138, 34)
HSLhsl(107, 60%, 34%)
HSVhsv(107, 75%, 54%)
CMYKcmyk(59.4%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.84, -44.39, 45.46)
CIE-LCHlch(50.84, 63.54, 134.32°)
OKLaboklab(56.15% -0.1219 0.1026)
OKLCHoklch(56.15% 0.159 139.9)
XYZxyz(11.0076, 19.1322, 4.6259)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388A22 #74228A
analogous
#6C8A22 #388A22 #228A40
triadic
#388A22 #22388A #8A2238
tetradic
#388A22 #226C8A #74228A #8A4022
square
#388A22 #226C8A #74228A #8A4022
split-complementary
#388A22 #40228A #8A226C
monochromatic
#10280A #245916 #388A22 #4CBB2E #6ED452

Accessibility & contrast

On white

4.35
#388A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#388A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388A22
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388A22#FFFFFF#000000##000000
##388A221.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#2E8576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #388a22;
/* rgb */ color: rgb(56, 138, 34);
/* oklch */ color: oklch(56.2% 0.159 139.9);
Tailwind
colors: {
  custom: {
    50: '#79ad64',
    500: '#388a22',
    950: '#000000',
  },
}
SCSS
$custom: #388a22;
$custom-light: #79ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#388a22",
  "rgb": {
    "r": 56,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 107.308,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56153,
    "c": 0.15929,
    "h": 139.9
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#388A22
secondary
#A250B8
accent
#44E4C2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388A22

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

Preview Lab → · Contrast checker → · Palette generator →

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