#388226#388226

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

Color values

HEX#388226
RGBrgb(56, 130, 38)
HSLhsl(108, 55%, 33%)
HSVhsv(108, 71%, 51%)
CMYKcmyk(56.9%, 0%, 70.8%, 49%)
CIE-LABlab(48.19, -40.93, 41.12)
CIE-LCHlch(48.19, 58.02, 134.87°)
OKLaboklab(53.97% -0.1123 0.0941)
OKLCHoklch(53.97% 0.146 140.1)
XYZxyz(9.9629, 16.9451, 4.5791)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388226 #702682
analogous
#668226 #388226 #268242
triadic
#388226 #263882 #822638
tetradic
#388226 #266682 #702682 #824226
square
#388226 #266682 #702682 #824226
split-complementary
#388226 #422682 #822666
monochromatic
#0F230A #245318 #388226 #4CB134 #6DCD55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388226#FFFFFF#000000##FFFFFF
##3882261.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)
#867619
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#307E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388226;
/* rgb */ color: rgb(56, 130, 38);
/* oklch */ color: oklch(54.0% 0.146 140.1);
Tailwind
colors: {
  custom: {
    50: '#77a766',
    500: '#388226',
    950: '#000000',
  },
}
SCSS
$custom: #388226;
$custom-light: #77a766;
$custom-dark: #000000;
JSON
{
  "hex": "#388226",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 108.261,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.14647,
    "h": 140.1
  },
  "luminance": 0.16946
}

Semantic roles & 50–950 ramp

primary
#388226
secondary
#9F52B2
accent
#4ADEC1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #388226

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

Preview Lab → · Contrast checker → · Palette generator →

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