#398A4E#398A4E

#398A4E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.8% C 0.121 H 149.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#398A4E
RGBrgb(57, 138, 78)
HSLhsl(136, 42%, 38%)
HSVhsv(136, 59%, 54%)
CMYKcmyk(58.7%, 0%, 43.5%, 45.9%)
CIE-LABlab(51.38, -38.54, 24.90)
CIE-LCHlch(51.38, 45.89, 147.14°)
OKLaboklab(56.77% -0.1043 0.0615)
OKLCHoklch(56.77% 0.121 149.5)
XYZxyz(12.1501, 19.5958, 10.3483)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A4E #8A3975
analogous
#4C8A39 #398A4E #398A76
triadic
#398A4E #4E398A #8A4E39
tetradic
#398A4E #394C8A #8A3975 #8A7639
square
#398A4E #394C8A #8A3975 #8A7639
split-complementary
#398A4E #76398A #8A394C
monochromatic
#15331D #275F36 #398A4E #4BB567 #77C78B

Accessibility & contrast

On white

4.27
#398A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#398A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A4E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A4E#FFFFFF#000000##000000
##398A4E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4A
Deuteranopia (green-blind)
#807752
Tritanopia (blue-blind)
#25887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398a4e;
/* rgb */ color: rgb(57, 138, 78);
/* oklch */ color: oklch(56.8% 0.121 149.5);
Tailwind
colors: {
  custom: {
    50: '#77ad80',
    500: '#398a4e',
    950: '#000000',
  },
}
SCSS
$custom: #398a4e;
$custom-light: #77ad80;
$custom-dark: #000000;
JSON
{
  "hex": "#398a4e",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 135.556,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.12107,
    "h": 149.5
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#398A4E
secondary
#B06F9F
accent
#56B1D1
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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