#398D4E#398D4E

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

Color values

HEX#398D4E
RGBrgb(57, 141, 78)
HSLhsl(135, 42%, 39%)
HSVhsv(135, 60%, 55%)
CMYKcmyk(59.6%, 0%, 44.7%, 44.7%)
CIE-LABlab(52.36, -39.81, 26.17)
CIE-LCHlch(52.36, 47.64, 146.68°)
OKLaboklab(57.58% -0.1077 0.0644)
OKLCHoklch(57.58% 0.125 149.1)
XYZxyz(12.5865, 20.4685, 10.4938)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D4E #8D3978
analogous
#4E8D39 #398D4E #398D78
triadic
#398D4E #4E398D #8D4E39
tetradic
#398D4E #394E8D #8D3978 #8D7839
square
#398D4E #394E8D #8D3978 #8D7839
split-complementary
#398D4E #78398D #8D394E
monochromatic
#16361E #276136 #398D4E #4CB767 #78C88C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398D4E#FFFFFF#000000##000000
##398D4E1.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)
#8E8249
Deuteranopia (green-blind)
#837A52
Tritanopia (blue-blind)
#248A7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398d4e;
/* rgb */ color: rgb(57, 141, 78);
/* oklch */ color: oklch(57.6% 0.125 149.1);
Tailwind
colors: {
  custom: {
    50: '#78af80',
    500: '#398d4e',
    950: '#000000',
  },
}
SCSS
$custom: #398d4e;
$custom-light: #78af80;
$custom-dark: #000000;
JSON
{
  "hex": "#398d4e",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 135,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.12549,
    "h": 149.1
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

primary
#398D4E
secondary
#B270A1
accent
#56B3D2
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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