#388018#388018

#388018 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.3% C 0.153 H 138.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#388018
RGBrgb(56, 128, 24)
HSLhsl(102, 68%, 30%)
HSVhsv(102, 81%, 50%)
CMYKcmyk(56.3%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.42, -41.22, 45.65)
CIE-LCHlch(47.42, 61.51, 132.08°)
OKLaboklab(53.31% -0.1139 0.1015)
OKLCHoklch(53.31% 0.153 138.3)
XYZxyz(9.5146, 16.3443, 3.5174)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388018 #601880
analogous
#6C8018 #388018 #18802C
triadic
#388018 #183880 #801838
tetradic
#388018 #186C80 #601880 #802C18
square
#388018 #186C80 #601880 #802C18
split-complementary
#388018 #2C1880 #80186C
monochromatic
#0B1A05 #214C0E #388018 #4FB422 #6ADA39

Accessibility & contrast

On white

4.92
#388018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#388018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388018
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388018#FFFFFF#000000##FFFFFF
##3880181.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#327B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #388018;
/* rgb */ color: rgb(56, 128, 24);
/* oklch */ color: oklch(53.3% 0.153 138.3);
Tailwind
colors: {
  custom: {
    50: '#77a55e',
    500: '#388018',
    950: '#000000',
  },
}
SCSS
$custom: #388018;
$custom-light: #77a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#388018",
  "rgb": {
    "r": 56,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 101.538,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.15258,
    "h": 138.3
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#388018
secondary
#9040B4
accent
#3DEBB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #388018

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

Preview Lab → · Contrast checker → · Palette generator →

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