#398427#398427

#398427 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.6% C 0.148 H 140.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#398427
RGBrgb(57, 132, 39)
HSLhsl(108, 54%, 34%)
HSVhsv(108, 70%, 52%)
CMYKcmyk(56.8%, 0%, 70.5%, 48.2%)
CIE-LABlab(48.91, -41.35, 41.47)
CIE-LCHlch(48.91, 58.56, 134.92°)
OKLaboklab(54.58% -0.1134 0.0949)
OKLCHoklch(54.58% 0.148 140.1)
XYZxyz(10.3044, 17.5180, 4.7574)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398427 #722784
analogous
#678427 #398427 #278443
triadic
#398427 #273984 #842739
tetradic
#398427 #276784 #722784 #844327
square
#398427 #276784 #722784 #844327
split-complementary
#398427 #432784 #842767
monochromatic
#10260B #255519 #398427 #4DB335 #6FCE58

Accessibility & contrast

On white

4.66
#398427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#398427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398427
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398427#FFFFFF#000000##FFFFFF
##3984271.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781A
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#308071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398427;
/* rgb */ color: rgb(57, 132, 39);
/* oklch */ color: oklch(54.6% 0.148 140.1);
Tailwind
colors: {
  custom: {
    50: '#78a866',
    500: '#398427',
    950: '#000000',
  },
}
SCSS
$custom: #398427;
$custom-light: #78a866;
$custom-dark: #000000;
JSON
{
  "hex": "#398427",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 108.387,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54578,
    "c": 0.14789,
    "h": 140.1
  },
  "luminance": 0.17519
}

Semantic roles & 50–950 ramp

primary
#398427
secondary
#A054B2
accent
#4ADEC1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #398427

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

Preview Lab → · Contrast checker → · Palette generator →

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