#398E40#398E40

#398E40 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.140 H 144.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#398E40
RGBrgb(57, 142, 64)
HSLhsl(125, 43%, 39%)
HSVhsv(125, 60%, 56%)
CMYKcmyk(59.9%, 0%, 54.9%, 44.3%)
CIE-LABlab(52.49, -42.42, 33.72)
CIE-LCHlch(52.49, 54.19, 141.52°)
OKLaboklab(57.62% -0.115 0.0807)
OKLCHoklch(57.62% 0.14 144.9)
XYZxyz(12.2850, 20.5849, 8.1754)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E40 #8E3987
analogous
#5D8E39 #398E40 #398E6B
triadic
#398E40 #40398E #8E4039
tetradic
#398E40 #395D8E #8E3987 #8E6B39
square
#398E40 #395D8E #8E3987 #8E6B39
split-complementary
#398E40 #6B398E #8E395D
monochromatic
#163719 #27622C #398E40 #4DB756 #78C97F

Accessibility & contrast

On white

4.10
#398E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#398E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E40
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E40#FFFFFF#000000##000000
##398E401.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)
#908239
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#288A7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e40;
/* rgb */ color: rgb(57, 142, 64);
/* oklch */ color: oklch(57.6% 0.140 144.9);
Tailwind
colors: {
  custom: {
    50: '#78b077',
    500: '#398e40',
    950: '#000000',
  },
}
SCSS
$custom: #398e40;
$custom-light: #78b077;
$custom-dark: #000000;
JSON
{
  "hex": "#398e40",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 124.941,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.14049,
    "h": 144.9
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#398E40
secondary
#B271AD
accent
#55C8D2
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#0A1009
muted
#7C7F7B

Preview Lab

Preview with #398E40

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

Preview Lab → · Contrast checker → · Palette generator →

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