#388126#388126

#388126 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.145 H 140.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#388126
RGBrgb(56, 129, 38)
HSLhsl(108, 54%, 33%)
HSVhsv(108, 71%, 51%)
CMYKcmyk(56.6%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.85, -40.53, 40.77)
CIE-LCHlch(47.85, 57.49, 134.84°)
OKLaboklab(53.7% -0.1112 0.0933)
OKLCHoklch(53.7% 0.145 140)
XYZxyz(9.8306, 16.6804, 4.5349)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388126 #6F2681
analogous
#658126 #388126 #268142
triadic
#388126 #263881 #812638
tetradic
#388126 #266581 #6F2681 #814226
square
#388126 #266581 #6F2681 #814226
split-complementary
#388126 #422681 #812665
monochromatic
#0F220A #235218 #388126 #4DB034 #6CCD55

Accessibility & contrast

On white

4.84
#388126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#388126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388126
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388126#FFFFFF#000000##FFFFFF
##3881261.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857519
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#307D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388126;
/* rgb */ color: rgb(56, 129, 38);
/* oklch */ color: oklch(53.7% 0.145 140.0);
Tailwind
colors: {
  custom: {
    50: '#77a665',
    500: '#388126',
    950: '#000000',
  },
}
SCSS
$custom: #388126;
$custom-light: #77a665;
$custom-dark: #000000;
JSON
{
  "hex": "#388126",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 108.132,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.14516,
    "h": 140
  },
  "luminance": 0.16681
}

Semantic roles & 50–950 ramp

primary
#388126
secondary
#9E51B1
accent
#4ADEC1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #388126

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

Preview Lab → · Contrast checker → · Palette generator →

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