#398B14#398B14

#398B14 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.167 H 138.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#398B14
RGBrgb(57, 139, 20)
HSLhsl(101, 75%, 31%)
HSVhsv(101, 86%, 55%)
CMYKcmyk(59%, 0%, 85.6%, 45.5%)
CIE-LABlab(51.13, -45.37, 50.27)
CIE-LCHlch(51.13, 67.72, 132.07°)
OKLaboklab(56.38% -0.1254 0.1106)
OKLCHoklch(56.38% 0.167 138.6)
XYZxyz(11.0458, 19.3846, 3.8212)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B14 #66148B
analogous
#748B14 #398B14 #148B2B
triadic
#398B14 #14398B #8B1439
tetradic
#398B14 #14748B #66148B #8B2B14
square
#398B14 #14748B #66148B #8B2B14
split-complementary
#398B14 #2B148B #8B1474
monochromatic
#0D2005 #23550C #398B14 #4FC11C #6CE237

Accessibility & contrast

On white

4.31
#398B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#398B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B14
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B14#FFFFFF#000000##000000
##398B141.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#318676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b14;
/* rgb */ color: rgb(57, 139, 20);
/* oklch */ color: oklch(56.4% 0.167 138.6);
Tailwind
colors: {
  custom: {
    50: '#7aae5e',
    500: '#398b14',
    950: '#000000',
  },
}
SCSS
$custom: #398b14;
$custom-light: #7aae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#398b14",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 101.345,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.16714,
    "h": 138.6
  },
  "luminance": 0.19386
}

Semantic roles & 50–950 ramp

primary
#398B14
secondary
#963CBF
accent
#36F1B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398B14

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

Preview Lab → · Contrast checker → · Palette generator →

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