#398740#398740

#398740 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.7% C 0.131 H 145.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#398740
RGBrgb(57, 135, 64)
HSLhsl(125, 41%, 38%)
HSVhsv(125, 58%, 53%)
CMYKcmyk(57.8%, 0%, 52.6%, 47.1%)
CIE-LABlab(50.18, -39.56, 30.90)
CIE-LCHlch(50.18, 50.20, 142.01°)
OKLaboklab(55.71% -0.1072 0.0745)
OKLCHoklch(55.71% 0.131 145.2)
XYZxyz(11.2761, 18.5670, 7.8391)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398740 #873980
analogous
#598739 #398740 #398767
triadic
#398740 #403987 #874039
tetradic
#398740 #395987 #873980 #876739
square
#398740 #395987 #873980 #876739
split-complementary
#398740 #673987 #873959
monochromatic
#153117 #275C2C #398740 #4BB254 #75C57D

Accessibility & contrast

On white

4.46
#398740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#398740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398740
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398740#FFFFFF#000000##000000
##3987401.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3A
Deuteranopia (green-blind)
#7F7545
Tritanopia (blue-blind)
#2A8477
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398740;
/* rgb */ color: rgb(57, 135, 64);
/* oklch */ color: oklch(55.7% 0.131 145.2);
Tailwind
colors: {
  custom: {
    50: '#77ab76',
    500: '#398740',
    950: '#000000',
  },
}
SCSS
$custom: #398740;
$custom-light: #77ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#398740",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 125.385,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.13058,
    "h": 145.2
  },
  "luminance": 0.18568
}

Semantic roles & 50–950 ramp

primary
#398740
secondary
#AE6EA8
accent
#57C6D0
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #398740

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

Preview Lab → · Contrast checker → · Palette generator →

#398740 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva