#388128#388128

#388128 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.144 H 140.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#388128
RGBrgb(56, 129, 40)
HSLhsl(109, 53%, 33%)
HSVhsv(109, 69%, 51%)
CMYKcmyk(56.6%, 0%, 69%, 49.4%)
CIE-LABlab(47.87, -40.34, 39.92)
CIE-LCHlch(47.87, 56.76, 135.30°)
OKLaboklab(53.72% -0.1106 0.0918)
OKLCHoklch(53.72% 0.144 140.3)
XYZxyz(9.8637, 16.6937, 4.7095)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388128 #712881
analogous
#658128 #388128 #288144
triadic
#388128 #283881 #812838
tetradic
#388128 #286581 #712881 #814428
square
#388128 #286581 #712881 #814428
split-complementary
#388128 #442881 #812865
monochromatic
#0F240B #24521A #388128 #4CB036 #6DCB58

Accessibility & contrast

On white

4.84
#388128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#388128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388128
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388128#FFFFFF#000000##FFFFFF
##3881281.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85751C
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#307D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388128;
/* rgb */ color: rgb(56, 129, 40);
/* oklch */ color: oklch(53.7% 0.144 140.3);
Tailwind
colors: {
  custom: {
    50: '#77a667',
    500: '#388128',
    950: '#000000',
  },
}
SCSS
$custom: #388128;
$custom-light: #77a667;
$custom-dark: #000000;
JSON
{
  "hex": "#388128",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 109.213,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.14368,
    "h": 140.3
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#388128
secondary
#A054B0
accent
#4CDCC2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #388128

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

Preview Lab → · Contrast checker → · Palette generator →

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