#398B36#398B36

#398B36 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.145 H 142.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#398B36
RGBrgb(57, 139, 54)
HSLhsl(118, 44%, 38%)
HSVhsv(118, 61%, 55%)
CMYKcmyk(59%, 0%, 61.2%, 45.5%)
CIE-LABlab(51.38, -42.53, 37.37)
CIE-LCHlch(51.38, 56.62, 138.70°)
OKLaboklab(56.66% -0.1157 0.0879)
OKLCHoklch(56.66% 0.145 142.8)
XYZxyz(11.5852, 19.6004, 6.6621)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B36 #88368B
analogous
#648B36 #398B36 #368B5D
triadic
#398B36 #36398B #8B3639
tetradic
#398B36 #36648B #88368B #8B5D36
square
#398B36 #36648B #88368B #8B5D36
split-complementary
#398B36 #5D368B #8B3664
monochromatic
#153314 #275F25 #398B36 #4BB747 #76C973

Accessibility & contrast

On white

4.27
#398B36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#398B36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B36
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B36#FFFFFF#000000##000000
##398B361.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2D
Deuteranopia (green-blind)
#83783D
Tritanopia (blue-blind)
#2C8779
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b36;
/* rgb */ color: rgb(57, 139, 54);
/* oklch */ color: oklch(56.7% 0.145 142.8);
Tailwind
colors: {
  custom: {
    50: '#78ae70',
    500: '#398b36',
    950: '#000000',
  },
}
SCSS
$custom: #398b36;
$custom-light: #78ae70;
$custom-dark: #000000;
JSON
{
  "hex": "#398b36",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 54
  },
  "hsl": {
    "h": 117.882,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.1453,
    "h": 142.8
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#398B36
secondary
#AF6CB1
accent
#54D4CF
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #398B36

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

Preview Lab → · Contrast checker → · Palette generator →

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