#388227#388227

#388227 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.146 H 140.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#388227
RGBrgb(56, 130, 39)
HSLhsl(109, 54%, 33%)
HSVhsv(109, 70%, 51%)
CMYKcmyk(56.9%, 0%, 70%, 49%)
CIE-LABlab(48.20, -40.84, 40.70)
CIE-LCHlch(48.20, 57.66, 135.10°)
OKLaboklab(53.99% -0.112 0.0933)
OKLCHoklch(53.99% 0.146 140.2)
XYZxyz(9.9793, 16.9517, 4.6652)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388227 #712782
analogous
#658227 #388227 #278243
triadic
#388227 #273882 #822738
tetradic
#388227 #276582 #712782 #824327
square
#388227 #276582 #712782 #824327
split-complementary
#388227 #432782 #822765
monochromatic
#0F240B #245319 #388227 #4CB135 #6DCD57

Accessibility & contrast

On white

4.78
#388227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#388227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388227
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388227#FFFFFF#000000##FFFFFF
##3882271.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86761A
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#2F7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388227;
/* rgb */ color: rgb(56, 130, 39);
/* oklch */ color: oklch(54.0% 0.146 140.2);
Tailwind
colors: {
  custom: {
    50: '#77a766',
    500: '#388227',
    950: '#000000',
  },
}
SCSS
$custom: #388227;
$custom-light: #77a766;
$custom-dark: #000000;
JSON
{
  "hex": "#388227",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 108.791,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53985,
    "c": 0.14575,
    "h": 140.2
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#388227
secondary
#A053B1
accent
#4BDDC2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #388227

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

Preview Lab → · Contrast checker → · Palette generator →

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