#388214#388214

#388214 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.157 H 138.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#388214
RGBrgb(56, 130, 20)
HSLhsl(100, 73%, 29%)
HSVhsv(100, 85%, 51%)
CMYKcmyk(56.9%, 0%, 84.6%, 49%)
CIE-LABlab(48.08, -42.22, 47.49)
CIE-LCHlch(48.08, 63.54, 131.64°)
OKLaboklab(53.85% -0.1168 0.1047)
OKLCHoklch(53.85% 0.157 138.1)
XYZxyz(9.7394, 16.8557, 3.4019)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388214 #5E1482
analogous
#6F8214 #388214 #148227
triadic
#388214 #143882 #821438
tetradic
#388214 #146F82 #5E1482 #822714
square
#388214 #146F82 #5E1482 #822714
split-complementary
#388214 #271482 #82146F
monochromatic
#0B1B04 #214D0C #388214 #4FB71C #6ADF31

Accessibility & contrast

On white

4.80
#388214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#388214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388214
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388214#FFFFFF#000000##FFFFFF
##3882141.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#317D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388214;
/* rgb */ color: rgb(56, 130, 20);
/* oklch */ color: oklch(53.8% 0.157 138.1);
Tailwind
colors: {
  custom: {
    50: '#78a75d',
    500: '#388214',
    950: '#000000',
  },
}
SCSS
$custom: #388214;
$custom-light: #78a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#388214",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 20
  },
  "hsl": {
    "h": 100.364,
    "s": 73.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.15691,
    "h": 138.1
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#388214
secondary
#8E3BB7
accent
#38F0B4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #388214

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

Preview Lab → · Contrast checker → · Palette generator →

#388214 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva