#398D2A#398D2A

#398D2A is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.157 H 140.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#398D2A
RGBrgb(57, 141, 42)
HSLhsl(111, 54%, 36%)
HSVhsv(111, 70%, 55%)
CMYKcmyk(59.6%, 0%, 70.2%, 44.7%)
CIE-LABlab(51.93, -44.59, 43.40)
CIE-LCHlch(51.93, 62.23, 135.78°)
OKLaboklab(57.08% -0.122 0.0993)
OKLCHoklch(57.08% 0.157 140.8)
XYZxyz(11.6296, 20.0857, 5.4541)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D2A #7E2A8D
analogous
#6A8D2A #398D2A #2A8D4C
triadic
#398D2A #2A398D #8D2A39
tetradic
#398D2A #2A6A8D #7E2A8D #8D4C2A
square
#398D2A #2A6A8D #7E2A8D #8D4C2A
split-complementary
#398D2A #4C2A8D #8D2A6A
monochromatic
#132F0E #265E1C #398D2A #4CBC38 #72D061

Accessibility & contrast

On white

4.19
#398D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#398D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D2A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D2A#FFFFFF#000000##000000
##398D2A1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801C
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#2E8879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d2a;
/* rgb */ color: rgb(57, 141, 42);
/* oklch */ color: oklch(57.1% 0.157 140.8);
Tailwind
colors: {
  custom: {
    50: '#79af69',
    500: '#398d2a',
    950: '#000000',
  },
}
SCSS
$custom: #398d2a;
$custom-light: #79af69;
$custom-dark: #000000;
JSON
{
  "hex": "#398d2a",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 110.909,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.15733,
    "h": 140.8
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#398D2A
secondary
#A85DB6
accent
#4ADDC7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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