#398D43#398D43

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

Color values

HEX#398D43
RGBrgb(57, 141, 67)
HSLhsl(127, 42%, 39%)
HSVhsv(127, 60%, 55%)
CMYKcmyk(59.6%, 0%, 52.5%, 44.7%)
CIE-LABlab(52.20, -41.58, 31.82)
CIE-LCHlch(52.20, 52.36, 142.58°)
OKLaboklab(57.39% -0.1126 0.0767)
OKLCHoklch(57.39% 0.136 145.7)
XYZxyz(12.2246, 20.3237, 8.5878)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D43 #8D3983
analogous
#598D39 #398D43 #398D6D
triadic
#398D43 #43398D #8D4339
tetradic
#398D43 #39598D #8D3983 #8D6D39
square
#398D43 #39598D #8D3983 #8D6D39
split-complementary
#398D43 #6D398D #8D3959
monochromatic
#16361A #27612E #398D43 #4CB759 #78C882

Accessibility & contrast

On white

4.15
#398D43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#398D43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D43
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D43#FFFFFF#000000##000000
##398D431.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813D
Deuteranopia (green-blind)
#847A48
Tritanopia (blue-blind)
#288A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d43;
/* rgb */ color: rgb(57, 141, 67);
/* oklch */ color: oklch(57.4% 0.136 145.7);
Tailwind
colors: {
  custom: {
    50: '#78af79',
    500: '#398d43',
    950: '#000000',
  },
}
SCSS
$custom: #398d43;
$custom-light: #78af79;
$custom-dark: #000000;
JSON
{
  "hex": "#398d43",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 67
  },
  "hsl": {
    "h": 127.143,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5739,
    "c": 0.13626,
    "h": 145.7
  },
  "luminance": 0.20325
}

Semantic roles & 50–950 ramp

primary
#398D43
secondary
#B270AA
accent
#56C3D2
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #398D43

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

Preview Lab → · Contrast checker → · Palette generator →

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