#398F45#398F45

#398F45 is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.0% C 0.137 H 146.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#398F45
RGBrgb(57, 143, 69)
HSLhsl(128, 43%, 39%)
HSVhsv(128, 60%, 56%)
CMYKcmyk(60.1%, 0%, 51.7%, 43.9%)
CIE-LABlab(52.89, -42.10, 31.62)
CIE-LCHlch(52.89, 52.65, 143.09°)
OKLaboklab(57.96% -0.1139 0.0764)
OKLCHoklch(57.96% 0.137 146.2)
XYZxyz(12.5832, 20.9433, 9.0084)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F45 #8F3983
analogous
#588F39 #398F45 #398F70
triadic
#398F45 #45398F #8F4539
tetradic
#398F45 #39588F #8F3983 #8F7039
square
#398F45 #39588F #8F3983 #8F7039
split-complementary
#398F45 #70398F #8F3958
monochromatic
#16371B #286330 #398F45 #4DB85C #79CA84

Accessibility & contrast

On white

4.05
#398F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#398F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F45
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F45#FFFFFF#000000##000000
##398F451.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91833F
Deuteranopia (green-blind)
#867B4A
Tritanopia (blue-blind)
#268C7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398f45;
/* rgb */ color: rgb(57, 143, 69);
/* oklch */ color: oklch(58.0% 0.137 146.2);
Tailwind
colors: {
  custom: {
    50: '#78b07a',
    500: '#398f45',
    950: '#000000',
  },
}
SCSS
$custom: #398f45;
$custom-light: #78b07a;
$custom-dark: #000000;
JSON
{
  "hex": "#398f45",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 69
  },
  "hsl": {
    "h": 128.372,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.13718,
    "h": 146.2
  },
  "luminance": 0.20944
}

Semantic roles & 50–950 ramp

primary
#398F45
secondary
#B371AA
accent
#55C1D3
background
#F7FAF7
surface
#EEF5EE
border
#C9CFC9
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #398F45

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

Preview Lab → · Contrast checker → · Palette generator →

#398F45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva