#398E43#398E43

#398E43 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.138 H 145.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#398E43
RGBrgb(57, 142, 67)
HSLhsl(127, 43%, 39%)
HSVhsv(127, 60%, 56%)
CMYKcmyk(59.9%, 0%, 52.8%, 44.3%)
CIE-LABlab(52.53, -41.99, 32.22)
CIE-LCHlch(52.53, 52.93, 142.50°)
OKLaboklab(57.66% -0.1137 0.0776)
OKLCHoklch(57.66% 0.138 145.7)
XYZxyz(12.3727, 20.6200, 8.6371)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E43 #8E3984
analogous
#5A8E39 #398E43 #398E6E
triadic
#398E43 #43398E #8E4339
tetradic
#398E43 #395A8E #8E3984 #8E6E39
square
#398E43 #395A8E #8E3984 #8E6E39
split-complementary
#398E43 #6E398E #8E395A
monochromatic
#16371A #27622E #398E43 #4DB759 #78C982

Accessibility & contrast

On white

4.10
#398E43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#398E43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E43
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E43#FFFFFF#000000##000000
##398E431.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823C
Deuteranopia (green-blind)
#857A48
Tritanopia (blue-blind)
#278B7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e43;
/* rgb */ color: rgb(57, 142, 67);
/* oklch */ color: oklch(57.7% 0.138 145.7);
Tailwind
colors: {
  custom: {
    50: '#78b079',
    500: '#398e43',
    950: '#000000',
  },
}
SCSS
$custom: #398e43;
$custom-light: #78b079;
$custom-dark: #000000;
JSON
{
  "hex": "#398e43",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 67
  },
  "hsl": {
    "h": 127.059,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.13768,
    "h": 145.7
  },
  "luminance": 0.20621
}

Semantic roles & 50–950 ramp

primary
#398E43
secondary
#B271AA
accent
#55C4D2
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#0A1009
muted
#7C7F7B

Preview Lab

Preview with #398E43

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

Preview Lab → · Contrast checker → · Palette generator →

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