#398F34#398F34

#398F34 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.7% C 0.152 H 142.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#398F34
RGBrgb(57, 143, 52)
HSLhsl(117, 47%, 38%)
HSVhsv(117, 64%, 56%)
CMYKcmyk(60.1%, 0%, 63.6%, 43.9%)
CIE-LABlab(52.69, -44.34, 39.80)
CIE-LCHlch(52.69, 59.58, 138.09°)
OKLaboklab(57.73% -0.1207 0.0929)
OKLCHoklch(57.73% 0.152 142.4)
XYZxyz(12.1290, 20.7616, 6.6164)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F34 #8A348F
analogous
#668F34 #398F34 #348F5C
triadic
#398F34 #34398F #8F3439
tetradic
#398F34 #34668F #8A348F #8F5C34
square
#398F34 #34668F #8A348F #8F5C34
split-complementary
#398F34 #5C348F #8F3466
monochromatic
#153513 #276224 #398F34 #4BBB45 #77CC72

Accessibility & contrast

On white

4.08
#398F34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#398F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F34
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F34#FFFFFF#000000##000000
##398F341.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822A
Deuteranopia (green-blind)
#877B3C
Tritanopia (blue-blind)
#2B8B7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398f34;
/* rgb */ color: rgb(57, 143, 52);
/* oklch */ color: oklch(57.7% 0.152 142.4);
Tailwind
colors: {
  custom: {
    50: '#79b16f',
    500: '#398f34',
    950: '#000000',
  },
}
SCSS
$custom: #398f34;
$custom-light: #79b16f;
$custom-dark: #000000;
JSON
{
  "hex": "#398f34",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 52
  },
  "hsl": {
    "h": 116.703,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57734,
    "c": 0.15232,
    "h": 142.4
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#398F34
secondary
#B06BB4
accent
#51D6CF
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #398F34

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

Preview Lab → · Contrast checker → · Palette generator →

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