#388D23#388D23

#388D23 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.162 H 140.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#388D23
RGBrgb(56, 141, 35)
HSLhsl(108, 60%, 35%)
HSVhsv(108, 75%, 55%)
CMYKcmyk(60.3%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.85, -45.45, 46.09)
CIE-LCHlch(51.85, 64.73, 134.60°)
OKLaboklab(56.99% -0.1247 0.104)
OKLCHoklch(56.99% 0.162 140.2)
XYZxyz(11.4586, 20.0108, 4.8484)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D23 #78238D
analogous
#6D8D23 #388D23 #238D43
triadic
#388D23 #23388D #8D2338
tetradic
#388D23 #236D8D #78238D #8D4323
square
#388D23 #236D8D #78238D #8D4323
split-complementary
#388D23 #43238D #8D236D
monochromatic
#112B0B #255C17 #388D23 #4BBE2F #6FD555

Accessibility & contrast

On white

4.20
#388D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#388D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388D23
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388D23#FFFFFF#000000##000000
##388D231.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#2D8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388d23;
/* rgb */ color: rgb(56, 141, 35);
/* oklch */ color: oklch(57.0% 0.162 140.2);
Tailwind
colors: {
  custom: {
    50: '#79af65',
    500: '#388d23',
    950: '#000000',
  },
}
SCSS
$custom: #388d23;
$custom-light: #79af65;
$custom-dark: #000000;
JSON
{
  "hex": "#388d23",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 108.113,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56987,
    "c": 0.16238,
    "h": 140.2
  },
  "luminance": 0.20012
}

Semantic roles & 50–950 ramp

primary
#388D23
secondary
#A553B9
accent
#44E3C4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388D23

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

Preview Lab → · Contrast checker → · Palette generator →

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