#398D45#398D45

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

Color values

HEX#398D45
RGBrgb(57, 141, 69)
HSLhsl(129, 42%, 39%)
HSVhsv(129, 60%, 55%)
CMYKcmyk(59.6%, 0%, 51.1%, 44.7%)
CIE-LABlab(52.23, -41.28, 30.81)
CIE-LCHlch(52.23, 51.51, 143.27°)
OKLaboklab(57.42% -0.1117 0.0746)
OKLCHoklch(57.42% 0.134 146.3)
XYZxyz(12.2856, 20.3482, 8.9092)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D45 #8D3981
analogous
#578D39 #398D45 #398D6F
triadic
#398D45 #45398D #8D4539
tetradic
#398D45 #39578D #8D3981 #8D6F39
square
#398D45 #39578D #8D3981 #8D6F39
split-complementary
#398D45 #6F398D #8D3957
monochromatic
#16361A #276130 #398D45 #4CB75C #78C883

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398D45#FFFFFF#000000##000000
##398D451.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)
#8F813F
Deuteranopia (green-blind)
#847A4A
Tritanopia (blue-blind)
#278A7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398d45;
/* rgb */ color: rgb(57, 141, 69);
/* oklch */ color: oklch(57.4% 0.134 146.3);
Tailwind
colors: {
  custom: {
    50: '#78af7a',
    500: '#398d45',
    950: '#000000',
  },
}
SCSS
$custom: #398d45;
$custom-light: #78af7a;
$custom-dark: #000000;
JSON
{
  "hex": "#398d45",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 128.571,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57421,
    "c": 0.13435,
    "h": 146.3
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

primary
#398D45
secondary
#B270A8
accent
#56C0D2
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #398D45

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

Preview Lab → · Contrast checker → · Palette generator →

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