#398C1C#398C1C

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

Color values

HEX#398C1C
RGBrgb(57, 140, 28)
HSLhsl(104, 67%, 33%)
HSVhsv(104, 80%, 55%)
CMYKcmyk(59.3%, 0%, 80%, 45.1%)
CIE-LABlab(51.51, -45.30, 48.24)
CIE-LCHlch(51.51, 66.18, 133.20°)
OKLaboklab(56.7% -0.1248 0.1075)
OKLCHoklch(56.7% 0.165 139.3)
XYZxyz(11.2746, 19.7089, 4.3084)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C1C #6F1C8C
analogous
#718C1C #398C1C #1C8C37
triadic
#398C1C #1C398C #8C1C39
tetradic
#398C1C #1C718C #6F1C8C #8C371C
square
#398C1C #1C718C #6F1C8C #8C371C
split-complementary
#398C1C #371C8C #8C1C71
monochromatic
#0F2608 #245912 #398C1C #4EBF26 #6EDA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398C1C#FFFFFF#000000##000000
##398C1C1.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)
#867829
Tritanopia (blue-blind)
#308777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c1c;
/* rgb */ color: rgb(57, 140, 28);
/* oklch */ color: oklch(56.7% 0.165 139.3);
Tailwind
colors: {
  custom: {
    50: '#7aae62',
    500: '#398c1c',
    950: '#000000',
  },
}
SCSS
$custom: #398c1c;
$custom-light: #7aae62;
$custom-dark: #000000;
JSON
{
  "hex": "#398c1c",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 104.464,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.567,
    "c": 0.16467,
    "h": 139.3
  },
  "luminance": 0.1971
}

Semantic roles & 50–950 ramp

primary
#398C1C
secondary
#9E48BC
accent
#3EEABD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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