#398727#398727

#398727 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.152 H 140.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#398727
RGBrgb(57, 135, 39)
HSLhsl(109, 55%, 34%)
HSVhsv(109, 71%, 53%)
CMYKcmyk(57.8%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.91, -42.54, 42.52)
CIE-LCHlch(49.91, 60.15, 135.01°)
OKLaboklab(55.41% -0.1166 0.0971)
OKLCHoklch(55.41% 0.152 140.2)
XYZxyz(10.7170, 18.3434, 4.8949)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398727 #752787
analogous
#698727 #398727 #278745
triadic
#398727 #273987 #872739
tetradic
#398727 #276987 #752787 #874527
square
#398727 #276987 #752787 #874527
split-complementary
#398727 #452787 #872769
monochromatic
#11280C #255819 #398727 #4DB635 #6FCF59

Accessibility & contrast

On white

4.50
#398727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#398727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398727
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398727#FFFFFF#000000##000000
##3987271.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B19
Deuteranopia (green-blind)
#817430
Tritanopia (blue-blind)
#308374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398727;
/* rgb */ color: rgb(57, 135, 39);
/* oklch */ color: oklch(55.4% 0.152 140.2);
Tailwind
colors: {
  custom: {
    50: '#78ab67',
    500: '#398727',
    950: '#000000',
  },
}
SCSS
$custom: #398727;
$custom-light: #78ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#398727",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 108.75,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.15177,
    "h": 140.2
  },
  "luminance": 0.18344
}

Semantic roles & 50–950 ramp

primary
#398727
secondary
#A256B4
accent
#49DFC3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398727

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

Preview Lab → · Contrast checker → · Palette generator →

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