#387223#387223

#387223 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.5% C 0.127 H 138.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#387223
RGBrgb(56, 114, 35)
HSLhsl(104, 53%, 29%)
HSVhsv(104, 69%, 45%)
CMYKcmyk(50.9%, 0%, 69.3%, 55.3%)
CIE-LABlab(42.76, -34.59, 36.65)
CIE-LCHlch(42.76, 50.39, 133.34°)
OKLaboklab(49.5% -0.0953 0.0842)
OKLCHoklch(49.5% 0.127 138.5)
XYZxyz(7.9513, 12.9962, 3.6793)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387223 #5D2372
analogous
#607223 #387223 #237236
triadic
#387223 #233872 #722338
tetradic
#387223 #236072 #5D2372 #723623
square
#387223 #236072 #5D2372 #723623
split-complementary
#387223 #362372 #722360
monochromatic
#0C1707 #214315 #387223 #4FA131 #6AC748

Accessibility & contrast

On white

5.83
#387223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#387223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387223
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387223#FFFFFF#000000##FFFFFF
##3872231.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766819
Deuteranopia (green-blind)
#6E632A
Tritanopia (blue-blind)
#346E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387223;
/* rgb */ color: rgb(56, 114, 35);
/* oklch */ color: oklch(49.5% 0.127 138.5);
Tailwind
colors: {
  custom: {
    50: '#749b62',
    500: '#387223',
    950: '#000000',
  },
}
SCSS
$custom: #387223;
$custom-light: #749b62;
$custom-dark: #000000;
JSON
{
  "hex": "#387223",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 104.051,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49495,
    "c": 0.12719,
    "h": 138.5
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

primary
#387223
secondary
#8D4CA5
accent
#4BDCB6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #387223

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

Preview Lab → · Contrast checker → · Palette generator →

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