#388412#388412

#388412 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.160 H 138.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#388412
RGBrgb(56, 132, 18)
HSLhsl(100, 76%, 29%)
HSVhsv(100, 86%, 52%)
CMYKcmyk(57.6%, 0%, 86.4%, 48.2%)
CIE-LABlab(48.74, -43.09, 48.64)
CIE-LCHlch(48.74, 64.98, 131.54°)
OKLaboklab(54.39% -0.1193 0.1069)
OKLCHoklch(54.39% 0.16 138.1)
XYZxyz(9.9910, 17.3861, 3.4015)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388412 #5E1284
analogous
#718412 #388412 #128425
triadic
#388412 #123884 #841238
tetradic
#388412 #127184 #5E1284 #842512
square
#388412 #127184 #5E1284 #842512
split-complementary
#388412 #251284 #841271
monochromatic
#0B1B04 #214E0B #388412 #4FBA19 #6AE22E

Accessibility & contrast

On white

4.69
#388412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#388412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388412
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388412#FFFFFF#000000##FFFFFF
##3884121.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7121
Tritanopia (blue-blind)
#317F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #388412;
/* rgb */ color: rgb(56, 132, 18);
/* oklch */ color: oklch(54.4% 0.160 138.1);
Tailwind
colors: {
  custom: {
    50: '#78a85d',
    500: '#388412',
    950: '#000000',
  },
}
SCSS
$custom: #388412;
$custom-light: #78a85d;
$custom-dark: #000000;
JSON
{
  "hex": "#388412",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 18
  },
  "hsl": {
    "h": 100,
    "s": 76,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54392,
    "c": 0.16014,
    "h": 138.1
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#388412
secondary
#8E39B9
accent
#35F3B3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388412

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

Preview Lab → · Contrast checker → · Palette generator →

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