#398A34#398A34

#398A34 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.146 H 142.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#398A34
RGBrgb(57, 138, 52)
HSLhsl(117, 45%, 37%)
HSVhsv(117, 62%, 54%)
CMYKcmyk(58.7%, 0%, 62.3%, 45.9%)
CIE-LABlab(51.03, -42.37, 37.92)
CIE-LCHlch(51.03, 56.86, 138.17°)
OKLaboklab(56.37% -0.1154 0.0889)
OKLCHoklch(56.37% 0.146 142.4)
XYZxyz(11.3951, 19.2937, 6.3717)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A34 #85348A
analogous
#648A34 #398A34 #348A5A
triadic
#398A34 #34398A #8A3439
tetradic
#398A34 #34648A #85348A #8A5A34
square
#398A34 #34648A #85348A #8A5A34
split-complementary
#398A34 #5A348A #8A3464
monochromatic
#143113 #275E23 #398A34 #4BB645 #75C96F

Accessibility & contrast

On white

4.32
#398A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#398A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A34
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A34#FFFFFF#000000##000000
##398A341.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2B
Deuteranopia (green-blind)
#83773B
Tritanopia (blue-blind)
#2D8678
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398a34;
/* rgb */ color: rgb(57, 138, 52);
/* oklch */ color: oklch(56.4% 0.146 142.4);
Tailwind
colors: {
  custom: {
    50: '#78ad6f',
    500: '#398a34',
    950: '#000000',
  },
}
SCSS
$custom: #398a34;
$custom-light: #78ad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#398a34",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 116.512,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.14565,
    "h": 142.4
  },
  "luminance": 0.19295
}

Semantic roles & 50–950 ramp

primary
#398A34
secondary
#AD69B1
accent
#53D5CD
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398A34

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

Preview Lab → · Contrast checker → · Palette generator →

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