#398C2A#398C2A

#398C2A is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.156 H 140.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#398C2A
RGBrgb(57, 140, 42)
HSLhsl(111, 54%, 36%)
HSVhsv(111, 70%, 55%)
CMYKcmyk(59.3%, 0%, 70%, 45.1%)
CIE-LABlab(51.60, -44.21, 43.05)
CIE-LCHlch(51.60, 61.71, 135.76°)
OKLaboklab(56.81% -0.121 0.0986)
OKLCHoklch(56.81% 0.156 140.8)
XYZxyz(11.4828, 19.7922, 5.4052)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C2A #7D2A8C
analogous
#6A8C2A #398C2A #2A8C4C
triadic
#398C2A #2A398C #8C2A39
tetradic
#398C2A #2A6A8C #7D2A8C #8C4C2A
square
#398C2A #2A6A8C #7D2A8C #8C4C2A
split-complementary
#398C2A #4C2A8C #8C2A6A
monochromatic
#132E0E #265D1C #398C2A #4CBB38 #72D061

Accessibility & contrast

On white

4.24
#398C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#398C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C2A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C2A#FFFFFF#000000##000000
##398C2A1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1C
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#2E8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c2a;
/* rgb */ color: rgb(57, 140, 42);
/* oklch */ color: oklch(56.8% 0.156 140.8);
Tailwind
colors: {
  custom: {
    50: '#79ae69',
    500: '#398c2a',
    950: '#000000',
  },
}
SCSS
$custom: #398c2a;
$custom-light: #79ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#398c2a",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 110.816,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.15606,
    "h": 140.8
  },
  "luminance": 0.19793
}

Semantic roles & 50–950 ramp

primary
#398C2A
secondary
#A85CB5
accent
#4BDDC7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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