#398B28#398B28

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

Color values

HEX#398B28
RGBrgb(57, 139, 40)
HSLhsl(110, 55%, 35%)
HSVhsv(110, 71%, 55%)
CMYKcmyk(59%, 0%, 71.2%, 45.5%)
CIE-LABlab(51.25, -44.01, 43.52)
CIE-LCHlch(51.25, 61.89, 135.32°)
OKLaboklab(56.52% -0.1205 0.0993)
OKLCHoklch(56.52% 0.156 140.5)
XYZxyz(11.3024, 19.4873, 5.1729)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B28 #7A288B
analogous
#6A8B28 #398B28 #288B49
triadic
#398B28 #28398B #8B2839
tetradic
#398B28 #286A8B #7A288B #8B4928
square
#398B28 #286A8B #7A288B #8B4928
split-complementary
#398B28 #49288B #8B286A
monochromatic
#122C0D #265B1A #398B28 #4CBB36 #71D05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398B28#FFFFFF#000000##000000
##398B281.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)
#8F7E19
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#2E8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b28;
/* rgb */ color: rgb(57, 139, 40);
/* oklch */ color: oklch(56.5% 0.156 140.5);
Tailwind
colors: {
  custom: {
    50: '#79ae68',
    500: '#398b28',
    950: '#000000',
  },
}
SCSS
$custom: #398b28;
$custom-light: #79ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#398b28",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 109.697,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.15619,
    "h": 140.5
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#398B28
secondary
#A659B6
accent
#49DFC5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398B28

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

Preview Lab → · Contrast checker → · Palette generator →

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