#398F2E#398F2E

#398F2E is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.157 H 141.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#398F2E
RGBrgb(57, 143, 46)
HSLhsl(113, 51%, 37%)
HSVhsv(113, 68%, 56%)
CMYKcmyk(60.1%, 0%, 67.8%, 43.9%)
CIE-LABlab(52.63, -44.98, 42.44)
CIE-LCHlch(52.63, 61.84, 136.66°)
OKLaboklab(57.67% -0.1228 0.0978)
OKLCHoklch(57.67% 0.157 141.5)
XYZxyz(12.0023, 20.7110, 5.9494)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F2E #842E8F
analogous
#6A8F2E #398F2E #2E8F54
triadic
#398F2E #2E398F #8F2E39
tetradic
#398F2E #2E6A8F #842E8F #8F542E
square
#398F2E #2E6A8F #842E8F #8F542E
split-complementary
#398F2E #542E8F #8F2E6A
monochromatic
#143210 #27611F #398F2E #4BBD3D #74CF69

Accessibility & contrast

On white

4.08
#398F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#398F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F2E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F2E#FFFFFF#000000##000000
##398F2E1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938221
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#2C8B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398f2e;
/* rgb */ color: rgb(57, 143, 46);
/* oklch */ color: oklch(57.7% 0.157 141.5);
Tailwind
colors: {
  custom: {
    50: '#79b16c',
    500: '#398f2e',
    950: '#000000',
  },
}
SCSS
$custom: #398f2e;
$custom-light: #79b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#398f2e",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 113.196,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.15699,
    "h": 141.5
  },
  "luminance": 0.20712
}

Semantic roles & 50–950 ramp

primary
#398F2E
secondary
#AC63B6
accent
#4DDBCB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #398F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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