#398F27#398F27

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

Color values

HEX#398F27
RGBrgb(57, 143, 39)
HSLhsl(110, 57%, 36%)
HSVhsv(110, 73%, 56%)
CMYKcmyk(60.1%, 0%, 72.7%, 43.9%)
CIE-LABlab(52.58, -45.62, 45.30)
CIE-LCHlch(52.58, 64.29, 135.21°)
OKLaboklab(57.61% -0.125 0.1029)
OKLCHoklch(57.61% 0.162 140.5)
XYZxyz(11.8755, 20.6602, 5.2811)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F27 #7D278F
analogous
#6D8F27 #398F27 #278F49
triadic
#398F27 #27398F #8F2739
tetradic
#398F27 #276D8F #7D278F #8F4927
square
#398F27 #276D8F #7D278F #8F4927
split-complementary
#398F27 #49278F #8F276D
monochromatic
#132F0D #265F1A #398F27 #4CBF34 #72D35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398F27#FFFFFF#000000##000000
##398F271.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)
#938216
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#2D8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f27;
/* rgb */ color: rgb(57, 143, 39);
/* oklch */ color: oklch(57.6% 0.162 140.5);
Tailwind
colors: {
  custom: {
    50: '#7ab168',
    500: '#398f27',
    950: '#000000',
  },
}
SCSS
$custom: #398f27;
$custom-light: #7ab168;
$custom-dark: #000000;
JSON
{
  "hex": "#398f27",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 109.615,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.16189,
    "h": 140.5
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

primary
#398F27
secondary
#A85AB8
accent
#47E0C6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #398F27

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

Preview Lab → · Contrast checker → · Palette generator →

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