#398E2A#398E2A

#398E2A is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.159 H 140.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#398E2A
RGBrgb(57, 142, 42)
HSLhsl(111, 54%, 36%)
HSVhsv(111, 70%, 56%)
CMYKcmyk(59.9%, 0%, 70.4%, 44.3%)
CIE-LABlab(52.27, -44.98, 43.75)
CIE-LCHlch(52.27, 62.75, 135.79°)
OKLaboklab(57.36% -0.123 0.1001)
OKLCHoklch(57.36% 0.159 140.9)
XYZxyz(11.7777, 20.3820, 5.5035)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E2A #7F2A8E
analogous
#6B8E2A #398E2A #2A8E4D
triadic
#398E2A #2A398E #8E2A39
tetradic
#398E2A #2A6B8E #7F2A8E #8E4D2A
square
#398E2A #2A6B8E #7F2A8E #8E4D2A
split-complementary
#398E2A #4D2A8E #8E2A6B
monochromatic
#13300E #265F1C #398E2A #4CBD38 #72D162

Accessibility & contrast

On white

4.14
#398E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#398E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E2A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E2A#FFFFFF#000000##000000
##398E2A1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#2D897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e2a;
/* rgb */ color: rgb(57, 142, 42);
/* oklch */ color: oklch(57.4% 0.159 140.9);
Tailwind
colors: {
  custom: {
    50: '#79b069',
    500: '#398e2a',
    950: '#000000',
  },
}
SCSS
$custom: #398e2a;
$custom-light: #79b069;
$custom-dark: #000000;
JSON
{
  "hex": "#398e2a",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 111,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57357,
    "c": 0.1586,
    "h": 140.9
  },
  "luminance": 0.20383
}

Semantic roles & 50–950 ramp

primary
#398E2A
secondary
#A95DB6
accent
#4ADEC8
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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