#388E12#388E12

#388E12 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.172 H 138.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#388E12
RGBrgb(56, 142, 18)
HSLhsl(102, 78%, 31%)
HSVhsv(102, 87%, 56%)
CMYKcmyk(60.6%, 0%, 87.3%, 44.3%)
CIE-LABlab(52.10, -46.84, 51.62)
CIE-LCHlch(52.10, 69.70, 132.22°)
OKLaboklab(57.16% -0.1293 0.1131)
OKLCHoklch(57.16% 0.172 138.8)
XYZxyz(11.4126, 20.2294, 3.8754)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388E12 #68128E
analogous
#768E12 #388E12 #128E2A
triadic
#388E12 #12388E #8E1238
tetradic
#388E12 #12768E #68128E #8E2A12
square
#388E12 #12768E #68128E #8E2A12
split-complementary
#388E12 #2A128E #8E1276
monochromatic
#0D2104 #23580B #388E12 #4DC419 #6BE535

Accessibility & contrast

On white

4.16
#388E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#388E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388E12
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388E12#FFFFFF#000000##000000
##388E121.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#2E8978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388e12;
/* rgb */ color: rgb(56, 142, 18);
/* oklch */ color: oklch(57.2% 0.172 138.8);
Tailwind
colors: {
  custom: {
    50: '#7ab05e',
    500: '#388e12',
    950: '#000000',
  },
}
SCSS
$custom: #388e12;
$custom-light: #7ab05e;
$custom-dark: #000000;
JSON
{
  "hex": "#388e12",
  "rgb": {
    "r": 56,
    "g": 142,
    "b": 18
  },
  "hsl": {
    "h": 101.613,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57163,
    "c": 0.17182,
    "h": 138.8
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#388E12
secondary
#983AC2
accent
#34F4B9
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388E12

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

Preview Lab → · Contrast checker → · Palette generator →

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