#388518#388518

#388518 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.159 H 138.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#388518
RGBrgb(56, 133, 24)
HSLhsl(102, 69%, 31%)
HSVhsv(102, 82%, 52%)
CMYKcmyk(57.9%, 0%, 82%, 47.8%)
CIE-LABlab(49.11, -43.16, 47.24)
CIE-LCHlch(49.11, 63.99, 132.42°)
OKLaboklab(54.7% -0.1191 0.1048)
OKLCHoklch(54.7% 0.159 138.7)
XYZxyz(10.1829, 17.6809, 3.7401)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388518 #651885
analogous
#6E8518 #388518 #18852E
triadic
#388518 #183885 #851838
tetradic
#388518 #186E85 #651885 #852E18
square
#388518 #186E85 #651885 #852E18
split-complementary
#388518 #2E1885 #85186E
monochromatic
#0C1D05 #22510F #388518 #4EB921 #6BDC3C

Accessibility & contrast

On white

4.63
#388518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#388518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #388518
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388518#FFFFFF#000000##FFFFFF
##3885181.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#308071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #388518;
/* rgb */ color: rgb(56, 133, 24);
/* oklch */ color: oklch(54.7% 0.159 138.7);
Tailwind
colors: {
  custom: {
    50: '#78a95f',
    500: '#388518',
    950: '#000000',
  },
}
SCSS
$custom: #388518;
$custom-light: #78a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#388518",
  "rgb": {
    "r": 56,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 102.385,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.15868,
    "h": 138.7
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

primary
#388518
secondary
#9540B9
accent
#3CECB8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388518

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

Preview Lab → · Contrast checker → · Palette generator →

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