#388F28#388F28

#388F28 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.162 H 140.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#388F28
RGBrgb(56, 143, 40)
HSLhsl(111, 56%, 36%)
HSVhsv(111, 72%, 56%)
CMYKcmyk(60.8%, 0%, 72%, 43.9%)
CIE-LABlab(52.55, -45.79, 44.86)
CIE-LCHlch(52.55, 64.11, 135.59°)
OKLaboklab(57.58% -0.1253 0.1022)
OKLCHoklch(57.58% 0.162 140.8)
XYZxyz(11.8358, 20.6378, 5.3668)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388F28 #7F288F
analogous
#6B8F28 #388F28 #288F4B
triadic
#388F28 #28388F #8F2838
tetradic
#388F28 #286B8F #7F288F #8F4B28
square
#388F28 #286B8F #7F288F #8F4B28
split-complementary
#388F28 #4B288F #8F286B
monochromatic
#132F0D #255F1B #388F28 #4BBF35 #71D25F

Accessibility & contrast

On white

4.10
#388F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#388F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388F28
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388F28#FFFFFF#000000##000000
##388F281.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#2C8A7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #388f28;
/* rgb */ color: rgb(56, 143, 40);
/* oklch */ color: oklch(57.6% 0.162 140.8);
Tailwind
colors: {
  custom: {
    50: '#79b168',
    500: '#388f28',
    950: '#000000',
  },
}
SCSS
$custom: #388f28;
$custom-light: #79b168;
$custom-dark: #000000;
JSON
{
  "hex": "#388f28",
  "rgb": {
    "r": 56,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 110.68,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57578,
    "c": 0.16167,
    "h": 140.8
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

primary
#388F28
secondary
#A95BB8
accent
#48E0C8
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #388F28

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

Preview Lab → · Contrast checker → · Palette generator →

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