#398828#398828

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

Color values

HEX#398828
RGBrgb(57, 136, 40)
HSLhsl(109, 55%, 35%)
HSVhsv(109, 71%, 53%)
CMYKcmyk(58.1%, 0%, 70.6%, 46.7%)
CIE-LABlab(50.25, -42.84, 42.46)
CIE-LCHlch(50.25, 60.32, 135.25°)
OKLaboklab(55.69% -0.1174 0.0971)
OKLCHoklch(55.69% 0.152 140.4)
XYZxyz(10.8740, 18.6304, 5.0301)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398828 #772888
analogous
#698828 #398828 #288847
triadic
#398828 #283988 #882839
tetradic
#398828 #286988 #772888 #884728
square
#398828 #286988 #772888 #884728
split-complementary
#398828 #472888 #882869
monochromatic
#11290C #25591A #398828 #4DB736 #70CF5B

Accessibility & contrast

On white

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

On black

4.73
#398828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398828
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398828#FFFFFF#000000##000000
##3988281.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398828;
/* rgb */ color: rgb(57, 136, 40);
/* oklch */ color: oklch(55.7% 0.152 140.4);
Tailwind
colors: {
  custom: {
    50: '#78ab67',
    500: '#398828',
    950: '#000000',
  },
}
SCSS
$custom: #398828;
$custom-light: #78ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#398828",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 109.375,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.15234,
    "h": 140.4
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#398828
secondary
#A458B4
accent
#4ADEC4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398828

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

Preview Lab → · Contrast checker → · Palette generator →

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