#388C23#388C23

#388C23 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.161 H 140.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#388C23
RGBrgb(56, 140, 35)
HSLhsl(108, 60%, 34%)
HSVhsv(108, 75%, 55%)
CMYKcmyk(60%, 0%, 75%, 45.1%)
CIE-LABlab(51.52, -45.07, 45.76)
CIE-LCHlch(51.52, 64.23, 134.57°)
OKLaboklab(56.71% -0.1237 0.1033)
OKLCHoklch(56.71% 0.161 140.1)
XYZxyz(11.3118, 19.7173, 4.7995)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C23 #77238C
analogous
#6D8C23 #388C23 #238C43
triadic
#388C23 #23388C #8C2338
tetradic
#388C23 #236D8C #77238C #8C4323
square
#388C23 #236D8C #77238C #8C4323
split-complementary
#388C23 #43238C #8C236D
monochromatic
#112A0B #245B17 #388C23 #4CBD2F #6ED455

Accessibility & contrast

On white

4.25
#388C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#388C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C23
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C23#FFFFFF#000000##000000
##388C231.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#2D8778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c23;
/* rgb */ color: rgb(56, 140, 35);
/* oklch */ color: oklch(56.7% 0.161 140.1);
Tailwind
colors: {
  custom: {
    50: '#79ae65',
    500: '#388c23',
    950: '#000000',
  },
}
SCSS
$custom: #388c23;
$custom-light: #79ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#388c23",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 108,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.16115,
    "h": 140.1
  },
  "luminance": 0.19718
}

Semantic roles & 50–950 ramp

primary
#388C23
secondary
#A452B8
accent
#45E3C3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388C23

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

Preview Lab → · Contrast checker → · Palette generator →

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