#388A12#388A12

#388A12 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.167 H 138.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#388A12
RGBrgb(56, 138, 18)
HSLhsl(101, 77%, 31%)
HSVhsv(101, 87%, 54%)
CMYKcmyk(59.4%, 0%, 87%, 45.9%)
CIE-LABlab(50.76, -45.36, 50.43)
CIE-LCHlch(50.76, 67.83, 131.97°)
OKLaboklab(56.06% -0.1254 0.1106)
OKLCHoklch(56.06% 0.167 138.6)
XYZxyz(10.8281, 19.0604, 3.6806)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388A12 #64128A
analogous
#748A12 #388A12 #128A28
triadic
#388A12 #12388A #8A1238
tetradic
#388A12 #12748A #64128A #8A2812
square
#388A12 #12748A #64128A #8A2812
split-complementary
#388A12 #28128A #8A1274
monochromatic
#0C1E04 #22540B #388A12 #4EC019 #6BE432

Accessibility & contrast

On white

4.36
#388A12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#388A12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388A12
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388A12#FFFFFF#000000##000000
##388A121.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#308575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #388a12;
/* rgb */ color: rgb(56, 138, 18);
/* oklch */ color: oklch(56.1% 0.167 138.6);
Tailwind
colors: {
  custom: {
    50: '#79ad5e',
    500: '#388a12',
    950: '#000000',
  },
}
SCSS
$custom: #388a12;
$custom-light: #79ad5e;
$custom-dark: #000000;
JSON
{
  "hex": "#388a12",
  "rgb": {
    "r": 56,
    "g": 138,
    "b": 18
  },
  "hsl": {
    "h": 101,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.16719,
    "h": 138.6
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#388A12
secondary
#9439BF
accent
#34F3B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388A12

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

Preview Lab → · Contrast checker → · Palette generator →

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