#398527#398527

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

Color values

HEX#398527
RGBrgb(57, 133, 39)
HSLhsl(109, 55%, 34%)
HSVhsv(109, 71%, 52%)
CMYKcmyk(57.1%, 0%, 70.7%, 47.8%)
CIE-LABlab(49.24, -41.75, 41.82)
CIE-LCHlch(49.24, 59.09, 134.95°)
OKLaboklab(54.85% -0.1145 0.0956)
OKLCHoklch(54.85% 0.149 140.1)
XYZxyz(10.4406, 17.7905, 4.8028)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398527 #732785
analogous
#688527 #398527 #278544
triadic
#398527 #273985 #852739
tetradic
#398527 #276885 #732785 #854427
square
#398527 #276885 #732785 #854427
split-complementary
#398527 #442785 #852768
monochromatic
#10260B #255619 #398527 #4DB435 #6FCE58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398527#FFFFFF#000000##FFFFFF
##3985271.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)
#897919
Deuteranopia (green-blind)
#7F7330
Tritanopia (blue-blind)
#308172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398527;
/* rgb */ color: rgb(57, 133, 39);
/* oklch */ color: oklch(54.9% 0.149 140.1);
Tailwind
colors: {
  custom: {
    50: '#78a966',
    500: '#398527',
    950: '#000000',
  },
}
SCSS
$custom: #398527;
$custom-light: #78a966;
$custom-dark: #000000;
JSON
{
  "hex": "#398527",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 39
  },
  "hsl": {
    "h": 108.511,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.14918,
    "h": 140.1
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

primary
#398527
secondary
#A155B3
accent
#4ADEC2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398527

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

Preview Lab → · Contrast checker → · Palette generator →

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