#398E25#398E25

#398E25 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.162 H 140.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#398E25
RGBrgb(57, 142, 37)
HSLhsl(109, 59%, 35%)
HSVhsv(109, 74%, 56%)
CMYKcmyk(59.9%, 0%, 73.9%, 44.3%)
CIE-LABlab(52.23, -45.41, 45.72)
CIE-LCHlch(52.23, 64.44, 134.80°)
OKLaboklab(57.31% -0.1245 0.1035)
OKLCHoklch(57.31% 0.162 140.3)
XYZxyz(11.6937, 20.3484, 5.0613)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E25 #7A258E
analogous
#6E8E25 #398E25 #258E45
triadic
#398E25 #25398E #8E2539
tetradic
#398E25 #256E8E #7A258E #8E4525
square
#398E25 #256E8E #7A258E #8E4525
split-complementary
#398E25 #45258E #8E256E
monochromatic
#122D0C #265D18 #398E25 #4CBF32 #71D45A

Accessibility & contrast

On white

4.14
#398E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#398E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E25
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E25#FFFFFF#000000##000000
##398E251.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928113
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#2E8979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e25;
/* rgb */ color: rgb(57, 142, 37);
/* oklch */ color: oklch(57.3% 0.162 140.3);
Tailwind
colors: {
  custom: {
    50: '#7ab066',
    500: '#398e25',
    950: '#000000',
  },
}
SCSS
$custom: #398e25;
$custom-light: #7ab066;
$custom-dark: #000000;
JSON
{
  "hex": "#398e25",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 108.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.16194,
    "h": 140.3
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

primary
#398E25
secondary
#A656B9
accent
#46E2C4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E25

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

Preview Lab → · Contrast checker → · Palette generator →

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