#398D4D#398D4D

#398D4D is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.6% C 0.126 H 148.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#398D4D
RGBrgb(57, 141, 77)
HSLhsl(134, 42%, 39%)
HSVhsv(134, 60%, 55%)
CMYKcmyk(59.6%, 0%, 45.4%, 44.7%)
CIE-LABlab(52.35, -39.99, 26.69)
CIE-LCHlch(52.35, 48.08, 146.28°)
OKLaboklab(57.56% -0.1081 0.0656)
OKLCHoklch(57.56% 0.126 148.8)
XYZxyz(12.5509, 20.4543, 10.3064)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D4D #8D3979
analogous
#4F8D39 #398D4D #398D77
triadic
#398D4D #4D398D #8D4D39
tetradic
#398D4D #394F8D #8D3979 #8D7739
square
#398D4D #394F8D #8D3979 #8D7739
split-complementary
#398D4D #77398D #8D394F
monochromatic
#16361D #276135 #398D4D #4CB766 #78C88B

Accessibility & contrast

On white

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

On black

5.09
#398D4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D4D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D4D#FFFFFF#000000##000000
##398D4D1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8248
Deuteranopia (green-blind)
#837A51
Tritanopia (blue-blind)
#248A7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398d4d;
/* rgb */ color: rgb(57, 141, 77);
/* oklch */ color: oklch(57.6% 0.126 148.8);
Tailwind
colors: {
  custom: {
    50: '#78af80',
    500: '#398d4d',
    950: '#000000',
  },
}
SCSS
$custom: #398d4d;
$custom-light: #78af80;
$custom-dark: #000000;
JSON
{
  "hex": "#398d4d",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 77
  },
  "hsl": {
    "h": 134.286,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.12649,
    "h": 148.8
  },
  "luminance": 0.20455
}

Semantic roles & 50–950 ramp

primary
#398D4D
secondary
#B270A2
accent
#56B5D2
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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