#398D46#398D46

#398D46 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.133 H 146.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#398D46
RGBrgb(57, 141, 70)
HSLhsl(129, 42%, 39%)
HSVhsv(129, 60%, 55%)
CMYKcmyk(59.6%, 0%, 50.4%, 44.7%)
CIE-LABlab(52.24, -41.13, 30.30)
CIE-LCHlch(52.24, 51.08, 143.62°)
OKLaboklab(57.44% -0.1113 0.0735)
OKLCHoklch(57.44% 0.133 146.6)
XYZxyz(12.3169, 20.3607, 9.0741)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D46 #8D3980
analogous
#568D39 #398D46 #398D70
triadic
#398D46 #46398D #8D4639
tetradic
#398D46 #39568D #8D3980 #8D7039
square
#398D46 #39568D #8D3980 #8D7039
split-complementary
#398D46 #70398D #8D3956
monochromatic
#16361B #276130 #398D46 #4CB75D #78C884

Accessibility & contrast

On white

4.14
#398D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#398D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D46
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D46#FFFFFF#000000##000000
##398D461.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8140
Deuteranopia (green-blind)
#847A4B
Tritanopia (blue-blind)
#278A7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398d46;
/* rgb */ color: rgb(57, 141, 70);
/* oklch */ color: oklch(57.4% 0.133 146.6);
Tailwind
colors: {
  custom: {
    50: '#78af7b',
    500: '#398d46',
    950: '#000000',
  },
}
SCSS
$custom: #398d46;
$custom-light: #78af7b;
$custom-dark: #000000;
JSON
{
  "hex": "#398d46",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 129.286,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.13338,
    "h": 146.6
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#398D46
secondary
#B270A7
accent
#56BFD2
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #398D46

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

Preview Lab → · Contrast checker → · Palette generator →

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