#398E34#398E34

#398E34 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.151 H 142.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#398E34
RGBrgb(57, 142, 52)
HSLhsl(117, 46%, 38%)
HSVhsv(117, 63%, 56%)
CMYKcmyk(59.9%, 0%, 63.4%, 44.3%)
CIE-LABlab(52.36, -43.95, 39.42)
CIE-LCHlch(52.36, 59.04, 138.11°)
OKLaboklab(57.46% -0.1197 0.0921)
OKLCHoklch(57.46% 0.151 142.4)
XYZxyz(11.9795, 20.4627, 6.5665)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E34 #89348E
analogous
#668E34 #398E34 #348E5C
triadic
#398E34 #34398E #8E3439
tetradic
#398E34 #34668E #89348E #8E5C34
square
#398E34 #34668E #89348E #8E5C34
split-complementary
#398E34 #5C348E #8E3466
monochromatic
#153413 #276124 #398E34 #4BBB44 #76CB71

Accessibility & contrast

On white

4.12
#398E34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#398E34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E34
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E34#FFFFFF#000000##000000
##398E341.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812A
Deuteranopia (green-blind)
#867A3B
Tritanopia (blue-blind)
#2B8A7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e34;
/* rgb */ color: rgb(57, 142, 52);
/* oklch */ color: oklch(57.5% 0.151 142.4);
Tailwind
colors: {
  custom: {
    50: '#79b06f',
    500: '#398e34',
    950: '#000000',
  },
}
SCSS
$custom: #398e34;
$custom-light: #79b06f;
$custom-dark: #000000;
JSON
{
  "hex": "#398e34",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 52
  },
  "hsl": {
    "h": 116.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.151,
    "h": 142.4
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#398E34
secondary
#AF6AB3
accent
#52D6CF
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398E34

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

Preview Lab → · Contrast checker → · Palette generator →

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