#398E39#398E39

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

Color values

HEX#398E39
RGBrgb(57, 142, 57)
HSLhsl(120, 43%, 39%)
HSVhsv(120, 60%, 56%)
CMYKcmyk(59.9%, 0%, 59.9%, 44.3%)
CIE-LABlab(52.41, -43.35, 37.10)
CIE-LCHlch(52.41, 57.06, 139.44°)
OKLaboklab(57.52% -0.1178 0.0876)
OKLCHoklch(57.52% 0.147 143.4)
XYZxyz(12.0982, 20.5102, 7.1914)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E39 #8E398E
analogous
#648E39 #398E39 #398E64
triadic
#398E39 #39398E #8E3939
tetradic
#398E39 #39648E #8E398E #8E6439
square
#398E39 #39648E #8E398E #8E6439
split-complementary
#398E39 #64398E #8E3964
monochromatic
#163716 #276227 #398E39 #4DB74D #78C978

Accessibility & contrast

On white

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

On black

5.10
#398E39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E39
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E39#FFFFFF#000000##000000
##398E391.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918230
Deuteranopia (green-blind)
#867A40
Tritanopia (blue-blind)
#2A8A7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e39;
/* rgb */ color: rgb(57, 142, 57);
/* oklch */ color: oklch(57.5% 0.147 143.4);
Tailwind
colors: {
  custom: {
    50: '#79b072',
    500: '#398e39',
    950: '#000000',
  },
}
SCSS
$custom: #398e39;
$custom-light: #79b072;
$custom-dark: #000000;
JSON
{
  "hex": "#398e39",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 57
  },
  "hsl": {
    "h": 120,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.14678,
    "h": 143.4
  },
  "luminance": 0.20511
}

Semantic roles & 50–950 ramp

primary
#398E39
secondary
#B271B2
accent
#55D2D2
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #398E39

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

Preview Lab → · Contrast checker → · Palette generator →

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