#398516#398516

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

Color values

HEX#398516
RGBrgb(57, 133, 22)
HSLhsl(101, 72%, 30%)
HSVhsv(101, 83%, 52%)
CMYKcmyk(57.1%, 0%, 83.5%, 47.8%)
CIE-LABlab(49.13, -42.99, 47.89)
CIE-LCHlch(49.13, 64.35, 131.92°)
OKLaboklab(54.73% -0.1189 0.1058)
OKLCHoklch(54.73% 0.159 138.3)
XYZxyz(10.2193, 17.7020, 3.6372)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398516 #621685
analogous
#708516 #398516 #16852A
triadic
#398516 #163985 #851639
tetradic
#398516 #167085 #621685 #852A16
square
#398516 #167085 #621685 #852A16
split-complementary
#398516 #2A1685 #851670
monochromatic
#0C1C05 #22500D #398516 #50BA1F #6CDE37

Accessibility & contrast

On white

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

On black

4.54
#398516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##398516#FFFFFF#000000##FFFFFF
##3985161.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#328071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398516;
/* rgb */ color: rgb(57, 133, 22);
/* oklch */ color: oklch(54.7% 0.159 138.3);
Tailwind
colors: {
  custom: {
    50: '#79a95e',
    500: '#398516',
    950: '#000000',
  },
}
SCSS
$custom: #398516;
$custom-light: #79a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#398516",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 101.081,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.15916,
    "h": 138.3
  },
  "luminance": 0.17703
}

Semantic roles & 50–950 ramp

primary
#398516
secondary
#923EB9
accent
#39EEB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398516

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

Preview Lab → · Contrast checker → · Palette generator →

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