#388118#388118

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

Color values

HEX#388118
RGBrgb(56, 129, 24)
HSLhsl(102, 69%, 30%)
HSVhsv(102, 81%, 51%)
CMYKcmyk(56.6%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.76, -41.61, 45.97)
CIE-LCHlch(47.76, 62.01, 132.15°)
OKLaboklab(53.59% -0.115 0.1022)
OKLCHoklch(53.59% 0.154 138.4)
XYZxyz(9.6457, 16.6064, 3.5610)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388118 #611881
analogous
#6D8118 #388118 #18812C
triadic
#388118 #183881 #811838
tetradic
#388118 #186D81 #611881 #812C18
square
#388118 #186D81 #611881 #812C18
split-complementary
#388118 #2C1881 #81186D
monochromatic
#0B1A05 #224D0E #388118 #4EB522 #6ADA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388118#FFFFFF#000000##FFFFFF
##3881181.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: #388118;
/* rgb */ color: rgb(56, 129, 24);
/* oklch */ color: oklch(53.6% 0.154 138.4);
Tailwind
colors: {
  custom: {
    50: '#77a65e',
    500: '#388118',
    950: '#000000',
  },
}
SCSS
$custom: #388118;
$custom-light: #77a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#388118",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 101.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.1538,
    "h": 138.4
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#388118
secondary
#9140B5
accent
#3CEBB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #388118

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

Preview Lab → · Contrast checker → · Palette generator →

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