#398B2A#398B2A

#398B2A is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.155 H 140.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#398B2A
RGBrgb(57, 139, 42)
HSLhsl(111, 54%, 35%)
HSVhsv(111, 70%, 55%)
CMYKcmyk(59%, 0%, 69.8%, 45.5%)
CIE-LABlab(51.27, -43.82, 42.70)
CIE-LCHlch(51.27, 61.18, 135.75°)
OKLaboklab(56.53% -0.1199 0.0979)
OKLCHoklch(56.53% 0.155 140.8)
XYZxyz(11.3373, 19.5013, 5.3567)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B2A #7C2A8B
analogous
#698B2A #398B2A #2A8B4C
triadic
#398B2A #2A398B #8B2A39
tetradic
#398B2A #2A698B #7C2A8B #8B4C2A
square
#398B2A #2A698B #7C2A8B #8B4C2A
split-complementary
#398B2A #4C2A8B #8B2A69
monochromatic
#122D0E #265C1C #398B2A #4CBA38 #71CF60

Accessibility & contrast

On white

4.29
#398B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#398B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B2A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B2A#FFFFFF#000000##000000
##398B2A1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1C
Deuteranopia (green-blind)
#847833
Tritanopia (blue-blind)
#2E8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b2a;
/* rgb */ color: rgb(57, 139, 42);
/* oklch */ color: oklch(56.5% 0.155 140.8);
Tailwind
colors: {
  custom: {
    50: '#79ae69',
    500: '#398b2a',
    950: '#000000',
  },
}
SCSS
$custom: #398b2a;
$custom-light: #79ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#398b2a",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 110.722,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.15478,
    "h": 140.8
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#398B2A
secondary
#A75CB5
accent
#4BDDC6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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