#398115#398115

#398115 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.155 H 137.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#398115
RGBrgb(57, 129, 21)
HSLhsl(100, 72%, 29%)
HSVhsv(100, 84%, 51%)
CMYKcmyk(55.8%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.78, -41.49, 46.94)
CIE-LCHlch(47.78, 62.64, 131.47°)
OKLaboklab(53.61% -0.1149 0.1037)
OKLCHoklch(53.61% 0.155 137.9)
XYZxyz(9.6726, 16.6237, 3.4083)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398115 #5D1581
analogous
#6F8115 #398115 #158127
triadic
#398115 #153981 #811539
tetradic
#398115 #156F81 #5D1581 #812715
square
#398115 #156F81 #5D1581 #812715
split-complementary
#398115 #271581 #81156F
monochromatic
#0C1A04 #224C0C #398115 #50B61E #6CDE33

Accessibility & contrast

On white

4.86
#398115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#398115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398115
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398115#FFFFFF#000000##FFFFFF
##3981151.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#337C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398115;
/* rgb */ color: rgb(57, 129, 21);
/* oklch */ color: oklch(53.6% 0.155 137.9);
Tailwind
colors: {
  custom: {
    50: '#78a65d',
    500: '#398115',
    950: '#000000',
  },
}
SCSS
$custom: #398115;
$custom-light: #78a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#398115",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 100,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53614,
    "c": 0.15478,
    "h": 137.9
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#398115
secondary
#8D3CB6
accent
#39EFB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398115

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

Preview Lab → · Contrast checker → · Palette generator →

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