#398F1E#398F1E

#398F1E is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.167 H 139.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#398F1E
RGBrgb(57, 143, 30)
HSLhsl(106, 65%, 34%)
HSVhsv(106, 79%, 56%)
CMYKcmyk(60.1%, 0%, 79%, 43.9%)
CIE-LABlab(52.52, -46.30, 48.54)
CIE-LCHlch(52.52, 67.08, 133.64°)
OKLaboklab(57.54% -0.1273 0.1084)
OKLCHoklch(57.54% 0.167 139.6)
XYZxyz(11.7436, 20.6075, 4.5868)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F1E #741E8F
analogous
#728F1E #398F1E #1E8F3C
triadic
#398F1E #1E398F #8F1E39
tetradic
#398F1E #1E728F #741E8F #8F3C1E
square
#398F1E #1E728F #741E8F #8F3C1E
split-complementary
#398F1E #3C1E8F #8F1E72
monochromatic
#112A09 #255C13 #398F1E #4DC229 #6FDA4E

Accessibility & contrast

On white

4.10
#398F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#398F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F1E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F1E#FFFFFF#000000##000000
##398F1E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938201
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#2F8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f1e;
/* rgb */ color: rgb(57, 143, 30);
/* oklch */ color: oklch(57.5% 0.167 139.6);
Tailwind
colors: {
  custom: {
    50: '#7ab163',
    500: '#398f1e',
    950: '#000000',
  },
}
SCSS
$custom: #398f1e;
$custom-light: #7ab163;
$custom-dark: #000000;
JSON
{
  "hex": "#398f1e",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 105.664,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57538,
    "c": 0.16722,
    "h": 139.6
  },
  "luminance": 0.20609
}

Semantic roles & 50–950 ramp

primary
#398F1E
secondary
#A24CBC
accent
#40E8C0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #398F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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