#388228#388228

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

Color values

HEX#388228
RGBrgb(56, 130, 40)
HSLhsl(109, 53%, 33%)
HSVhsv(109, 69%, 51%)
CMYKcmyk(56.9%, 0%, 69.2%, 49%)
CIE-LABlab(48.21, -40.74, 40.28)
CIE-LCHlch(48.21, 57.29, 135.33°)
OKLaboklab(53.99% -0.1116 0.0925)
OKLCHoklch(53.99% 0.145 140.3)
XYZxyz(9.9961, 16.9584, 4.7536)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388228 #722882
analogous
#658228 #388228 #288245
triadic
#388228 #283882 #822838
tetradic
#388228 #286582 #722882 #824528
square
#388228 #286582 #722882 #824528
split-complementary
#388228 #452882 #822865
monochromatic
#10240B #24531A #388228 #4CB136 #6DCC59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388228#FFFFFF#000000##FFFFFF
##3882281.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)
#86761C
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#2F7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388228;
/* rgb */ color: rgb(56, 130, 40);
/* oklch */ color: oklch(54.0% 0.145 140.3);
Tailwind
colors: {
  custom: {
    50: '#77a767',
    500: '#388228',
    950: '#000000',
  },
}
SCSS
$custom: #388228;
$custom-light: #77a767;
$custom-dark: #000000;
JSON
{
  "hex": "#388228",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 109.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.14501,
    "h": 140.3
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#388228
secondary
#A155B1
accent
#4BDCC3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #388228

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

Preview Lab → · Contrast checker → · Palette generator →

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