#398C1E#398C1E

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

Color values

HEX#398C1E
RGBrgb(57, 140, 30)
HSLhsl(105, 65%, 33%)
HSVhsv(105, 79%, 55%)
CMYKcmyk(59.3%, 0%, 78.6%, 45.1%)
CIE-LABlab(51.52, -45.17, 47.58)
CIE-LCHlch(51.52, 65.61, 133.51°)
OKLaboklab(56.71% -0.1243 0.1064)
OKLCHoklch(56.71% 0.164 139.4)
XYZxyz(11.2993, 19.7188, 4.4387)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C1E #711E8C
analogous
#708C1E #398C1E #1E8C3A
triadic
#398C1E #1E398C #8C1E39
tetradic
#398C1E #1E708C #711E8C #8C3A1E
square
#398C1E #1E708C #711E8C #8C3A1E
split-complementary
#398C1E #3A1E8C #8C1E70
monochromatic
#102708 #245A13 #398C1E #4EBE29 #6ED94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398C1E#FFFFFF#000000##000000
##398C1E1.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)
#907F03
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#2F8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c1e;
/* rgb */ color: rgb(57, 140, 30);
/* oklch */ color: oklch(56.7% 0.164 139.4);
Tailwind
colors: {
  custom: {
    50: '#7aae63',
    500: '#398c1e',
    950: '#000000',
  },
}
SCSS
$custom: #398c1e;
$custom-light: #7aae63;
$custom-dark: #000000;
JSON
{
  "hex": "#398c1e",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 105.273,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.16361,
    "h": 139.4
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#398C1E
secondary
#A04BBB
accent
#40E8BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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