#388223#388223

#388223 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.149 H 139.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#388223
RGBrgb(56, 130, 35)
HSLhsl(107, 58%, 32%)
HSVhsv(107, 73%, 51%)
CMYKcmyk(56.9%, 0%, 73.1%, 49%)
CIE-LABlab(48.17, -41.20, 42.34)
CIE-LCHlch(48.17, 59.08, 134.22°)
OKLaboklab(53.95% -0.1132 0.0962)
OKLCHoklch(53.95% 0.149 139.6)
XYZxyz(9.9165, 16.9265, 4.3344)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388223 #6D2382
analogous
#688223 #388223 #23823E
triadic
#388223 #233882 #822338
tetradic
#388223 #236882 #6D2382 #823E23
square
#388223 #236882 #6D2382 #823E23
split-complementary
#388223 #3E2382 #822368
monochromatic
#0E2209 #235216 #388223 #4DB230 #6CD050

Accessibility & contrast

On white

4.79
#388223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#388223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388223
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388223#FFFFFF#000000##FFFFFF
##3882231.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867614
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#307E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388223;
/* rgb */ color: rgb(56, 130, 35);
/* oklch */ color: oklch(53.9% 0.149 139.6);
Tailwind
colors: {
  custom: {
    50: '#77a764',
    500: '#388223',
    950: '#000000',
  },
}
SCSS
$custom: #388223;
$custom-light: #77a764;
$custom-dark: #000000;
JSON
{
  "hex": "#388223",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 106.737,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.14856,
    "h": 139.6
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#388223
secondary
#9D4DB3
accent
#47E1BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #388223

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

Preview Lab → · Contrast checker → · Palette generator →

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