#398C1D#398C1D

#398C1D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.164 H 139.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#398C1D
RGBrgb(57, 140, 29)
HSLhsl(105, 66%, 33%)
HSVhsv(105, 79%, 55%)
CMYKcmyk(59.3%, 0%, 79.3%, 45.1%)
CIE-LABlab(51.51, -45.24, 47.91)
CIE-LCHlch(51.51, 65.89, 133.36°)
OKLaboklab(56.71% -0.1245 0.1069)
OKLCHoklch(56.71% 0.164 139.3)
XYZxyz(11.2867, 19.7137, 4.3725)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C1D #701D8C
analogous
#708C1D #398C1D #1D8C39
triadic
#398C1D #1D398C #8C1D39
tetradic
#398C1D #1D708C #701D8C #8C391D
square
#398C1D #1D708C #701D8C #8C391D
split-complementary
#398C1D #391D8C #8C1D70
monochromatic
#102708 #245912 #398C1D #4EBF28 #6ED94A

Accessibility & contrast

On white

4.25
#398C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#398C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C1D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C1D#FFFFFF#000000##000000
##398C1D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#308777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c1d;
/* rgb */ color: rgb(57, 140, 29);
/* oklch */ color: oklch(56.7% 0.164 139.3);
Tailwind
colors: {
  custom: {
    50: '#7aae62',
    500: '#398c1d',
    950: '#000000',
  },
}
SCSS
$custom: #398c1d;
$custom-light: #7aae62;
$custom-dark: #000000;
JSON
{
  "hex": "#398c1d",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 104.865,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.16415,
    "h": 139.3
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#398C1D
secondary
#9F49BC
accent
#3FE9BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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