#398F25#398F25

#398F25 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.163 H 140.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#398F25
RGBrgb(57, 143, 37)
HSLhsl(109, 59%, 35%)
HSVhsv(109, 74%, 56%)
CMYKcmyk(60.1%, 0%, 74.1%, 43.9%)
CIE-LABlab(52.56, -45.79, 46.06)
CIE-LCHlch(52.56, 64.95, 134.83°)
OKLaboklab(57.59% -0.1255 0.1042)
OKLCHoklch(57.59% 0.163 140.3)
XYZxyz(11.8432, 20.6473, 5.1111)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F25 #7B258F
analogous
#6E8F25 #398F25 #258F46
triadic
#398F25 #25398F #8F2539
tetradic
#398F25 #256E8F #7B258F #8F4625
square
#398F25 #256E8F #7B258F #8F4625
split-complementary
#398F25 #46258F #8F256E
monochromatic
#122E0C #265E18 #398F25 #4CC032 #71D45A

Accessibility & contrast

On white

4.09
#398F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#398F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F25
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F25#FFFFFF#000000##000000
##398F251.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#887B30
Tritanopia (blue-blind)
#2E8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f25;
/* rgb */ color: rgb(57, 143, 37);
/* oklch */ color: oklch(57.6% 0.163 140.3);
Tailwind
colors: {
  custom: {
    50: '#7ab167',
    500: '#398f25',
    950: '#000000',
  },
}
SCSS
$custom: #398f25;
$custom-light: #7ab167;
$custom-dark: #000000;
JSON
{
  "hex": "#398f25",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 108.679,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.16317,
    "h": 140.3
  },
  "luminance": 0.20648
}

Semantic roles & 50–950 ramp

primary
#398F25
secondary
#A657B9
accent
#46E2C5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #398F25

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

Preview Lab → · Contrast checker → · Palette generator →

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