#388731#388731

#388731 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.145 H 142.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#388731
RGBrgb(56, 135, 49)
HSLhsl(115, 47%, 36%)
HSVhsv(115, 64%, 53%)
CMYKcmyk(58.5%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.97, -41.79, 38.12)
CIE-LCHlch(49.97, 56.57, 137.63°)
OKLaboklab(55.47% -0.1139 0.089)
OKLCHoklch(55.47% 0.145 142)
XYZxyz(10.8487, 18.3895, 5.8830)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388731 #803187
analogous
#638731 #388731 #318755
triadic
#388731 #313887 #873138
tetradic
#388731 #316387 #803187 #875531
square
#388731 #316387 #803187 #875531
split-complementary
#388731 #553187 #873163
monochromatic
#132D10 #255A21 #388731 #4BB441 #71C96A

Accessibility & contrast

On white

4.49
#388731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#388731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388731
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388731#FFFFFF#000000##000000
##3887311.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B27
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#2C8375
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #388731;
/* rgb */ color: rgb(56, 135, 49);
/* oklch */ color: oklch(55.5% 0.145 142.0);
Tailwind
colors: {
  custom: {
    50: '#77ab6d',
    500: '#388731',
    950: '#000000',
  },
}
SCSS
$custom: #388731;
$custom-light: #77ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#388731",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 115.116,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.14457,
    "h": 142
  },
  "luminance": 0.1839
}

Semantic roles & 50–950 ramp

primary
#388731
secondary
#AA64B0
accent
#51D6CC
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #388731

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

Preview Lab → · Contrast checker → · Palette generator →

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