#388117#388117

#388117 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.154 H 138.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#388117
RGBrgb(56, 129, 23)
HSLhsl(101, 70%, 30%)
HSVhsv(101, 82%, 51%)
CMYKcmyk(56.6%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.76, -41.67, 46.29)
CIE-LCHlch(47.76, 62.28, 131.99°)
OKLaboklab(53.58% -0.1152 0.1027)
OKLCHoklch(53.58% 0.154 138.3)
XYZxyz(9.6354, 16.6023, 3.5073)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388117 #601781
analogous
#6D8117 #388117 #17812B
triadic
#388117 #173881 #811738
tetradic
#388117 #176D81 #601781 #812B17
square
#388117 #176D81 #601781 #812B17
split-complementary
#388117 #2B1781 #81176D
monochromatic
#0B1A05 #214D0E #388117 #4FB520 #6ADB37

Accessibility & contrast

On white

4.86
#388117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#388117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388117
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388117#FFFFFF#000000##FFFFFF
##3881171.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#317C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #388117;
/* rgb */ color: rgb(56, 129, 23);
/* oklch */ color: oklch(53.6% 0.154 138.3);
Tailwind
colors: {
  custom: {
    50: '#77a65e',
    500: '#388117',
    950: '#000000',
  },
}
SCSS
$custom: #388117;
$custom-light: #77a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#388117",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 101.321,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.15431,
    "h": 138.3
  },
  "luminance": 0.16603
}

Semantic roles & 50–950 ramp

primary
#388117
secondary
#903EB5
accent
#3BEDB5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #388117

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

Preview Lab → · Contrast checker → · Palette generator →

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