#398520#398520

#398520 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.154 H 139.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#398520
RGBrgb(57, 133, 32)
HSLhsl(105, 61%, 32%)
HSVhsv(105, 76%, 52%)
CMYKcmyk(57.1%, 0%, 75.9%, 47.8%)
CIE-LABlab(49.19, -42.34, 44.57)
CIE-LCHlch(49.19, 61.47, 133.53°)
OKLaboklab(54.8% -0.1165 0.1004)
OKLCHoklch(54.8% 0.154 139.3)
XYZxyz(10.3352, 17.7483, 4.2474)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398520 #6C2085
analogous
#6B8520 #398520 #20853A
triadic
#398520 #203985 #852039
tetradic
#398520 #206B85 #6C2085 #853A20
square
#398520 #206B85 #6C2085 #853A20
split-complementary
#398520 #3A2085 #85206B
monochromatic
#0F2208 #245414 #398520 #4EB62C #6DD44C

Accessibility & contrast

On white

4.62
#398520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#398520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398520
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398520#FFFFFF#000000##FFFFFF
##3985201.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#7F732A
Tritanopia (blue-blind)
#318072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398520;
/* rgb */ color: rgb(57, 133, 32);
/* oklch */ color: oklch(54.8% 0.154 139.3);
Tailwind
colors: {
  custom: {
    50: '#78a963',
    500: '#398520',
    950: '#000000',
  },
}
SCSS
$custom: #398520;
$custom-light: #78a963;
$custom-dark: #000000;
JSON
{
  "hex": "#398520",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 105.149,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.15382,
    "h": 139.3
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#398520
secondary
#9C4AB7
accent
#43E4BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398520

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

Preview Lab → · Contrast checker → · Palette generator →

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