#398D1D#398D1D

#398D1D is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.165 H 139.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#398D1D
RGBrgb(57, 141, 29)
HSLhsl(105, 66%, 33%)
HSVhsv(105, 79%, 55%)
CMYKcmyk(59.6%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.85, -45.62, 48.23)
CIE-LCHlch(51.85, 66.39, 133.40°)
OKLaboklab(56.98% -0.1255 0.1076)
OKLCHoklch(56.98% 0.165 139.4)
XYZxyz(11.4335, 20.0073, 4.4214)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D1D #711D8D
analogous
#718D1D #398D1D #1D8D39
triadic
#398D1D #1D398D #8D1D39
tetradic
#398D1D #1D718D #711D8D #8D391D
square
#398D1D #1D718D #711D8D #8D391D
split-complementary
#398D1D #391D8D #8D1D71
monochromatic
#102708 #245A13 #398D1D #4EC027 #6EDA4B

Accessibility & contrast

On white

4.20
#398D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#398D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D1D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D1D#FFFFFF#000000##000000
##398D1D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#2F8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d1d;
/* rgb */ color: rgb(57, 141, 29);
/* oklch */ color: oklch(57.0% 0.165 139.4);
Tailwind
colors: {
  custom: {
    50: '#7aaf62',
    500: '#398d1d',
    950: '#000000',
  },
}
SCSS
$custom: #398d1d;
$custom-light: #7aaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#398d1d",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 105,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56982,
    "c": 0.16535,
    "h": 139.4
  },
  "luminance": 0.20008
}

Semantic roles & 50–950 ramp

primary
#398D1D
secondary
#A04ABC
accent
#3FE9BE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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