#388122#388122

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

Color values

HEX#388122
RGBrgb(56, 129, 34)
HSLhsl(106, 58%, 32%)
HSVhsv(106, 74%, 51%)
CMYKcmyk(56.6%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.82, -40.89, 42.39)
CIE-LCHlch(47.82, 58.90, 133.96°)
OKLaboklab(53.66% -0.1124 0.0962)
OKLCHoklch(53.66% 0.148 139.5)
XYZxyz(9.7695, 16.6560, 4.2132)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388122 #6B2281
analogous
#688122 #388122 #22813C
triadic
#388122 #223881 #812238
tetradic
#388122 #226881 #6B2281 #813C22
square
#388122 #226881 #6B2281 #813C22
split-complementary
#388122 #3C2281 #812268
monochromatic
#0E2008 #235115 #388122 #4DB12F #6CD04D

Accessibility & contrast

On white

4.85
#388122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#388122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388122
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388122#FFFFFF#000000##FFFFFF
##3881221.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857512
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#307D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #388122;
/* rgb */ color: rgb(56, 129, 34);
/* oklch */ color: oklch(53.7% 0.148 139.5);
Tailwind
colors: {
  custom: {
    50: '#77a663',
    500: '#388122',
    950: '#000000',
  },
}
SCSS
$custom: #388122;
$custom-light: #77a663;
$custom-dark: #000000;
JSON
{
  "hex": "#388122",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 106.105,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.14794,
    "h": 139.5
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#388122
secondary
#9B4BB3
accent
#46E1BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #388122

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

Preview Lab → · Contrast checker → · Palette generator →

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