#398428#398428

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

Color values

HEX#398428
RGBrgb(57, 132, 40)
HSLhsl(109, 53%, 34%)
HSVhsv(109, 70%, 52%)
CMYKcmyk(56.8%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.91, -41.26, 41.05)
CIE-LCHlch(48.91, 58.20, 135.15°)
OKLaboklab(54.59% -0.1131 0.0941)
OKLCHoklch(54.59% 0.147 140.2)
XYZxyz(10.3212, 17.5247, 4.8458)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398428 #732884
analogous
#678428 #398428 #288445
triadic
#398428 #283984 #842839
tetradic
#398428 #286784 #732884 #844528
square
#398428 #286784 #732884 #844528
split-complementary
#398428 #452884 #842867
monochromatic
#10260C #25551A #398428 #4DB336 #6FCD5A

Accessibility & contrast

On white

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

On black

4.51
#398428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##398428#FFFFFF#000000##FFFFFF
##3984281.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398428;
/* rgb */ color: rgb(57, 132, 40);
/* oklch */ color: oklch(54.6% 0.147 140.2);
Tailwind
colors: {
  custom: {
    50: '#78a867',
    500: '#398428',
    950: '#000000',
  },
}
SCSS
$custom: #398428;
$custom-light: #78a867;
$custom-dark: #000000;
JSON
{
  "hex": "#398428",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 108.913,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54587,
    "c": 0.14715,
    "h": 140.2
  },
  "luminance": 0.17526
}

Semantic roles & 50–950 ramp

primary
#398428
secondary
#A156B2
accent
#4BDDC2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #398428

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

Preview Lab → · Contrast checker → · Palette generator →

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