#388F22#388F22

#388F22 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.165 H 140.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#388F22
RGBrgb(56, 143, 34)
HSLhsl(108, 62%, 35%)
HSVhsv(108, 76%, 56%)
CMYKcmyk(60.8%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.51, -46.28, 47.12)
CIE-LCHlch(52.51, 66.05, 134.48°)
OKLaboklab(57.53% -0.127 0.106)
OKLCHoklch(57.53% 0.165 140.1)
XYZxyz(11.7415, 20.6001, 4.8705)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388F22 #79228F
analogous
#6F8F22 #388F22 #228F43
triadic
#388F22 #22388F #8F2238
tetradic
#388F22 #226F8F #79228F #8F4322
square
#388F22 #226F8F #79228F #8F4322
split-complementary
#388F22 #43228F #8F226F
monochromatic
#112C0A #255E16 #388F22 #4BC02E #6FD755

Accessibility & contrast

On white

4.10
#388F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#388F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388F22
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388F22#FFFFFF#000000##000000
##388F221.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820B
Deuteranopia (green-blind)
#887B2E
Tritanopia (blue-blind)
#2C8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #388f22;
/* rgb */ color: rgb(56, 143, 34);
/* oklch */ color: oklch(57.5% 0.165 140.1);
Tailwind
colors: {
  custom: {
    50: '#79b165',
    500: '#388f22',
    950: '#000000',
  },
}
SCSS
$custom: #388f22;
$custom-light: #79b165;
$custom-dark: #000000;
JSON
{
  "hex": "#388f22",
  "rgb": {
    "r": 56,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 107.89,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5753,
    "c": 0.16543,
    "h": 140.1
  },
  "luminance": 0.20601
}

Semantic roles & 50–950 ramp

primary
#388F22
secondary
#A552BA
accent
#43E5C4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #388F22

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

Preview Lab → · Contrast checker → · Palette generator →

#388F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva