#398827#398827

#398827 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.7% C 0.153 H 140.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#398827
RGBrgb(57, 136, 39)
HSLhsl(109, 55%, 34%)
HSVhsv(109, 71%, 53%)
CMYKcmyk(58.1%, 0%, 71.3%, 46.7%)
CIE-LABlab(50.24, -42.93, 42.87)
CIE-LCHlch(50.24, 60.67, 135.04°)
OKLaboklab(55.68% -0.1177 0.0978)
OKLCHoklch(55.68% 0.153 140.3)
XYZxyz(10.8572, 18.6237, 4.9417)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398827 #762788
analogous
#6A8827 #398827 #278846
triadic
#398827 #273988 #882739
tetradic
#398827 #276A88 #762788 #884627
square
#398827 #276A88 #762788 #884627
split-complementary
#398827 #462788 #88276A
monochromatic
#11290C #255819 #398827 #4DB835 #70D05A

Accessibility & contrast

On white

4.44
#398827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#398827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398827
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398827#FFFFFF#000000##000000
##3988271.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C18
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#2F8475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398827;
/* rgb */ color: rgb(57, 136, 39);
/* oklch */ color: oklch(55.7% 0.153 140.3);
Tailwind
colors: {
  custom: {
    50: '#78ab67',
    500: '#398827',
    950: '#000000',
  },
}
SCSS
$custom: #398827;
$custom-light: #78ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#398827",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 39
  },
  "hsl": {
    "h": 108.866,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.15305,
    "h": 140.3
  },
  "luminance": 0.18625
}

Semantic roles & 50–950 ramp

primary
#398827
secondary
#A356B5
accent
#49DFC3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398827

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

Preview Lab → · Contrast checker → · Palette generator →

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