#398915#398915

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

Color values

HEX#398915
RGBrgb(57, 137, 21)
HSLhsl(101, 73%, 31%)
HSVhsv(101, 85%, 54%)
CMYKcmyk(58.4%, 0%, 84.7%, 46.3%)
CIE-LABlab(50.47, -44.57, 49.40)
CIE-LCHlch(50.47, 66.53, 132.06°)
OKLaboklab(55.83% -0.1232 0.1089)
OKLCHoklch(55.83% 0.164 138.5)
XYZxyz(10.7679, 18.8144, 3.7734)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398915 #651589
analogous
#738915 #398915 #15892B
triadic
#398915 #153989 #891539
tetradic
#398915 #157389 #651589 #892B15
square
#398915 #157389 #651589 #892B15
split-complementary
#398915 #2B1589 #891573
monochromatic
#0D1F05 #23540D #398915 #4FBE1D #6CE038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398915#FFFFFF#000000##000000
##3989151.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: #398915;
/* rgb */ color: rgb(57, 137, 21);
/* oklch */ color: oklch(55.8% 0.164 138.5);
Tailwind
colors: {
  custom: {
    50: '#79ac5e',
    500: '#398915',
    950: '#000000',
  },
}
SCSS
$custom: #398915;
$custom-light: #79ac5e;
$custom-dark: #000000;
JSON
{
  "hex": "#398915",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 101.379,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55832,
    "c": 0.16438,
    "h": 138.5
  },
  "luminance": 0.18815
}

Semantic roles & 50–950 ramp

primary
#398915
secondary
#953DBD
accent
#38F0B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398915

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

Preview Lab → · Contrast checker → · Palette generator →

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