#398528#398528

#398528 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.148 H 140.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#398528
RGBrgb(57, 133, 40)
HSLhsl(109, 54%, 34%)
HSVhsv(109, 70%, 52%)
CMYKcmyk(57.1%, 0%, 69.9%, 47.8%)
CIE-LABlab(49.25, -41.66, 41.40)
CIE-LCHlch(49.25, 58.73, 135.18°)
OKLaboklab(54.86% -0.1142 0.0949)
OKLCHoklch(54.86% 0.148 140.3)
XYZxyz(10.4574, 17.7972, 4.8912)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398528 #742885
analogous
#688528 #398528 #288546
triadic
#398528 #283985 #852839
tetradic
#398528 #286885 #742885 #854628
square
#398528 #286885 #742885 #854628
split-complementary
#398528 #462885 #852868
monochromatic
#11270C #25561A #398528 #4DB436 #6FCD5A

Accessibility & contrast

On white

4.61
#398528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#398528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398528
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398528#FFFFFF#000000##FFFFFF
##3985281.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791B
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#308172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398528;
/* rgb */ color: rgb(57, 133, 40);
/* oklch */ color: oklch(54.9% 0.148 140.3);
Tailwind
colors: {
  custom: {
    50: '#78a967',
    500: '#398528',
    950: '#000000',
  },
}
SCSS
$custom: #398528;
$custom-light: #78a967;
$custom-dark: #000000;
JSON
{
  "hex": "#398528",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 109.032,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.14846,
    "h": 140.3
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398528

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

Preview Lab → · Contrast checker → · Palette generator →

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