#398C2D#398C2D

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

Color values

HEX#398C2D
RGBrgb(57, 140, 45)
HSLhsl(112, 51%, 36%)
HSVhsv(112, 68%, 55%)
CMYKcmyk(59.3%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.63, -43.92, 41.79)
CIE-LCHlch(51.63, 60.62, 136.43°)
OKLaboklab(56.84% -0.12 0.0963)
OKLCHoklch(56.84% 0.154 141.2)
XYZxyz(11.5385, 19.8145, 5.6986)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C2D #802D8C
analogous
#698C2D #398C2D #2D8C51
triadic
#398C2D #2D398C #8C2D39
tetradic
#398C2D #2D698C #802D8C #8C512D
square
#398C2D #2D698C #802D8C #8C512D
split-complementary
#398C2D #512D8C #8C2D69
monochromatic
#132F0F #265E1E #398C2D #4CBA3C #73CE66

Accessibility & contrast

On white

4.23
#398C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##398C2D#FFFFFF#000000##000000
##398C2D1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F21
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#2D8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c2d;
/* rgb */ color: rgb(57, 140, 45);
/* oklch */ color: oklch(56.8% 0.154 141.2);
Tailwind
colors: {
  custom: {
    50: '#79ae6b',
    500: '#398c2d',
    950: '#000000',
  },
}
SCSS
$custom: #398c2d;
$custom-light: #79ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#398c2d",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 112.421,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.15386,
    "h": 141.2
  },
  "luminance": 0.19815
}

Semantic roles & 50–950 ramp

primary
#398C2D
secondary
#AA60B4
accent
#4DDBC9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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