#398916#398916

#398916 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.164 H 138.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#398916
RGBrgb(57, 137, 22)
HSLhsl(102, 72%, 31%)
HSVhsv(102, 84%, 54%)
CMYKcmyk(58.4%, 0%, 83.9%, 46.3%)
CIE-LABlab(50.47, -44.52, 49.12)
CIE-LCHlch(50.47, 66.29, 132.19°)
OKLaboklab(55.84% -0.123 0.1084)
OKLCHoklch(55.84% 0.164 138.6)
XYZxyz(10.7774, 18.8182, 3.8232)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398916 #661689
analogous
#728916 #398916 #16892C
triadic
#398916 #163989 #891639
tetradic
#398916 #167289 #661689 #892C16
square
#398916 #167289 #661689 #892C16
split-complementary
#398916 #2C1689 #891672
monochromatic
#0D2005 #23540E #398916 #4FBE1E #6CDF3A

Accessibility & contrast

On white

4.41
#398916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#398916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398916
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398916#FFFFFF#000000##000000
##3989161.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837624
Tritanopia (blue-blind)
#318474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398916;
/* rgb */ color: rgb(57, 137, 22);
/* oklch */ color: oklch(55.8% 0.164 138.6);
Tailwind
colors: {
  custom: {
    50: '#79ac5f',
    500: '#398916',
    950: '#000000',
  },
}
SCSS
$custom: #398916;
$custom-light: #79ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#398916",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 101.739,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.16395,
    "h": 138.6
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#398916
secondary
#963EBD
accent
#39EFB8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398916

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

Preview Lab → · Contrast checker → · Palette generator →

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