#398A1E#398A1E

#398A1E is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.161 H 139.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#398A1E
RGBrgb(57, 138, 30)
HSLhsl(105, 64%, 33%)
HSVhsv(105, 78%, 54%)
CMYKcmyk(58.7%, 0%, 78.3%, 45.9%)
CIE-LABlab(50.85, -44.41, 46.93)
CIE-LCHlch(50.85, 64.61, 133.42°)
OKLaboklab(56.16% -0.1222 0.105)
OKLCHoklch(56.16% 0.161 139.3)
XYZxyz(11.0097, 19.1396, 4.3422)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A1E #6F1E8A
analogous
#6F8A1E #398A1E #1E8A39
triadic
#398A1E #1E398A #8A1E39
tetradic
#398A1E #1E6F8A #6F1E8A #8A391E
square
#398A1E #1E6F8A #6F1E8A #8A391E
split-complementary
#398A1E #391E8A #8A1E6F
monochromatic
#0F2508 #245813 #398A1E #4EBC29 #6ED84B

Accessibility & contrast

On white

4.35
#398A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#398A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A1E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A1E#FFFFFF#000000##000000
##398A1E1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D04
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#308576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a1e;
/* rgb */ color: rgb(57, 138, 30);
/* oklch */ color: oklch(56.2% 0.161 139.3);
Tailwind
colors: {
  custom: {
    50: '#79ad62',
    500: '#398a1e',
    950: '#000000',
  },
}
SCSS
$custom: #398a1e;
$custom-light: #79ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#398a1e",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 105,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.16118,
    "h": 139.3
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#398A1E
secondary
#9E4ABA
accent
#41E7BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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