#398B25#398B25

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

Color values

HEX#398B25
RGBrgb(57, 139, 37)
HSLhsl(108, 58%, 35%)
HSVhsv(108, 73%, 55%)
CMYKcmyk(59%, 0%, 73.4%, 45.5%)
CIE-LABlab(51.23, -44.27, 44.70)
CIE-LCHlch(51.23, 62.91, 134.72°)
OKLaboklab(56.49% -0.1214 0.1014)
OKLCHoklch(56.49% 0.158 140.1)
XYZxyz(11.2534, 19.4677, 4.9145)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B25 #77258B
analogous
#6C8B25 #398B25 #258B44
triadic
#398B25 #25398B #8B2539
tetradic
#398B25 #256C8B #77258B #8B4425
square
#398B25 #256C8B #77258B #8B4425
split-complementary
#398B25 #44258B #8B256C
monochromatic
#112A0B #255B18 #398B25 #4DBB32 #70D358

Accessibility & contrast

On white

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

On black

4.89
#398B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B25
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B25#FFFFFF#000000##000000
##398B251.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E14
Deuteranopia (green-blind)
#85772F
Tritanopia (blue-blind)
#2F8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b25;
/* rgb */ color: rgb(57, 139, 37);
/* oklch */ color: oklch(56.5% 0.158 140.1);
Tailwind
colors: {
  custom: {
    50: '#79ae66',
    500: '#398b25',
    950: '#000000',
  },
}
SCSS
$custom: #398b25;
$custom-light: #79ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#398b25",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 108.235,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5649,
    "c": 0.15819,
    "h": 140.1
  },
  "luminance": 0.19469
}

Semantic roles & 50–950 ramp

primary
#398B25
secondary
#A455B7
accent
#47E1C3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398B25

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

Preview Lab → · Contrast checker → · Palette generator →

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