#388418#388418

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

Color values

HEX#388418
RGBrgb(56, 132, 24)
HSLhsl(102, 69%, 31%)
HSVhsv(102, 82%, 52%)
CMYKcmyk(57.6%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.77, -42.77, 46.92)
CIE-LCHlch(48.77, 63.49, 132.35°)
OKLaboklab(54.42% -0.1181 0.1041)
OKLCHoklch(54.42% 0.157 138.6)
XYZxyz(10.0466, 17.4084, 3.6947)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388418 #641884
analogous
#6E8418 #388418 #18842E
triadic
#388418 #183884 #841838
tetradic
#388418 #186E84 #641884 #842E18
square
#388418 #186E84 #641884 #842E18
split-complementary
#388418 #2E1884 #84186E
monochromatic
#0C1C05 #22500F #388418 #4EB821 #6BDB3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388418#FFFFFF#000000##FFFFFF
##3884181.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)
#7F7125
Tritanopia (blue-blind)
#317F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #388418;
/* rgb */ color: rgb(56, 132, 24);
/* oklch */ color: oklch(54.4% 0.157 138.6);
Tailwind
colors: {
  custom: {
    50: '#78a85f',
    500: '#388418',
    950: '#000000',
  },
}
SCSS
$custom: #388418;
$custom-light: #78a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#388418",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 102.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.15747,
    "h": 138.6
  },
  "luminance": 0.17409
}

Semantic roles & 50–950 ramp

primary
#388418
secondary
#9440B8
accent
#3CECB8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388418

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

Preview Lab → · Contrast checker → · Palette generator →

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