#398D14#398D14

#398D14 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.169 H 138.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#398D14
RGBrgb(57, 141, 20)
HSLhsl(102, 75%, 32%)
HSVhsv(102, 86%, 55%)
CMYKcmyk(59.6%, 0%, 85.8%, 44.7%)
CIE-LABlab(51.80, -46.12, 50.87)
CIE-LCHlch(51.80, 68.66, 132.20°)
OKLaboklab(56.93% -0.1274 0.1118)
OKLCHoklch(56.93% 0.169 138.7)
XYZxyz(11.3380, 19.9691, 3.9186)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D14 #68148D
analogous
#768D14 #398D14 #148D2C
triadic
#398D14 #14398D #8D1439
tetradic
#398D14 #14768D #68148D #8D2C14
square
#398D14 #14768D #68148D #8D2C14
split-complementary
#398D14 #2C148D #8D1476
monochromatic
#0E2205 #23570C #398D14 #4FC31C #6DE339

Accessibility & contrast

On white

4.21
#398D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#398D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D14
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D14#FFFFFF#000000##000000
##398D141.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#308878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398d14;
/* rgb */ color: rgb(57, 141, 20);
/* oklch */ color: oklch(56.9% 0.169 138.7);
Tailwind
colors: {
  custom: {
    50: '#7aaf5f',
    500: '#398d14',
    950: '#000000',
  },
}
SCSS
$custom: #398d14;
$custom-light: #7aaf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#398d14",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 101.653,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.16948,
    "h": 138.7
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#398D14
secondary
#983CC1
accent
#36F2B8
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398D14

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

Preview Lab → · Contrast checker → · Palette generator →

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