#398F13#398F13

#398F13 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.172 H 138.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#398F13
RGBrgb(57, 143, 19)
HSLhsl(102, 77%, 32%)
HSVhsv(102, 87%, 56%)
CMYKcmyk(60.1%, 0%, 86.7%, 43.9%)
CIE-LABlab(52.47, -46.90, 51.71)
CIE-LCHlch(52.47, 69.82, 132.21°)
OKLaboklab(57.48% -0.1295 0.1135)
OKLCHoklch(57.48% 0.172 138.8)
XYZxyz(11.6269, 20.5608, 3.9719)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F13 #69138F
analogous
#778F13 #398F13 #138F2B
triadic
#398F13 #13398F #8F1339
tetradic
#398F13 #13778F #69138F #8F2B13
square
#398F13 #13778F #69138F #8F2B13
split-complementary
#398F13 #2B138F #8F1377
monochromatic
#0E2305 #23590C #398F13 #4FC51A #6DE538

Accessibility & contrast

On white

4.11
#398F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#398F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F13
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F13#FFFFFF#000000##000000
##398F131.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948100
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#308A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f13;
/* rgb */ color: rgb(57, 143, 19);
/* oklch */ color: oklch(57.5% 0.172 138.8);
Tailwind
colors: {
  custom: {
    50: '#7bb15f',
    500: '#398f13',
    950: '#000000',
  },
}
SCSS
$custom: #398f13;
$custom-light: #7bb15f;
$custom-dark: #000000;
JSON
{
  "hex": "#398f13",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 101.613,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.17217,
    "h": 138.8
  },
  "luminance": 0.20562
}

Semantic roles & 50–950 ramp

primary
#398F13
secondary
#993BC3
accent
#35F3B9
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #398F13

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

Preview Lab → · Contrast checker → · Palette generator →

#398F13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva