#388417#388417

#388417 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.158 H 138.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#388417
RGBrgb(56, 132, 23)
HSLhsl(102, 70%, 30%)
HSVhsv(102, 83%, 52%)
CMYKcmyk(57.6%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.77, -42.83, 47.23)
CIE-LCHlch(48.77, 63.76, 132.20°)
OKLaboklab(54.42% -0.1183 0.1046)
OKLCHoklch(54.42% 0.158 138.5)
XYZxyz(10.0364, 17.4043, 3.6409)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388417 #631784
analogous
#6E8417 #388417 #17842C
triadic
#388417 #173884 #841738
tetradic
#388417 #176E84 #631784 #842C17
square
#388417 #176E84 #631784 #842C17
split-complementary
#388417 #2C1784 #84176E
monochromatic
#0C1C05 #22500E #388417 #4EB820 #6ADC39

Accessibility & contrast

On white

4.69
#388417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#388417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388417
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388417#FFFFFF#000000##FFFFFF
##3884171.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7124
Tritanopia (blue-blind)
#317F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #388417;
/* rgb */ color: rgb(56, 132, 23);
/* oklch */ color: oklch(54.4% 0.158 138.5);
Tailwind
colors: {
  custom: {
    50: '#78a85e',
    500: '#388417',
    950: '#000000',
  },
}
SCSS
$custom: #388417;
$custom-light: #78a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#388417",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 101.835,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.15796,
    "h": 138.5
  },
  "luminance": 0.17405
}

Semantic roles & 50–950 ramp

primary
#388417
secondary
#933FB8
accent
#3BEDB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388417

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

Preview Lab → · Contrast checker → · Palette generator →

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