#388017#388017

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

Color values

HEX#388017
RGBrgb(56, 128, 23)
HSLhsl(101, 70%, 30%)
HSVhsv(101, 82%, 50%)
CMYKcmyk(56.3%, 0%, 82%, 49.8%)
CIE-LABlab(47.42, -41.28, 45.97)
CIE-LCHlch(47.42, 61.78, 131.92°)
OKLaboklab(53.31% -0.1141 0.102)
OKLCHoklch(53.31% 0.153 138.2)
XYZxyz(9.5044, 16.3402, 3.4636)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388017 #5F1780
analogous
#6D8017 #388017 #17802B
triadic
#388017 #173880 #801738
tetradic
#388017 #176D80 #5F1780 #802B17
square
#388017 #176D80 #5F1780 #802B17
split-complementary
#388017 #2B1780 #80176D
monochromatic
#0B1A05 #214C0E #388017 #4FB420 #6ADB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388017#FFFFFF#000000##FFFFFF
##3880171.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)
#7B6E23
Tritanopia (blue-blind)
#327B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #388017;
/* rgb */ color: rgb(56, 128, 23);
/* oklch */ color: oklch(53.3% 0.153 138.2);
Tailwind
colors: {
  custom: {
    50: '#77a55e',
    500: '#388017',
    950: '#000000',
  },
}
SCSS
$custom: #388017;
$custom-light: #77a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#388017",
  "rgb": {
    "r": 56,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 101.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.15308,
    "h": 138.2
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#388017
secondary
#8F3EB4
accent
#3BECB5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #388017

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

Preview Lab → · Contrast checker → · Palette generator →

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