#398B1E#398B1E

#398B1E is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.162 H 139.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#398B1E
RGBrgb(57, 139, 30)
HSLhsl(105, 64%, 33%)
HSVhsv(105, 78%, 55%)
CMYKcmyk(59%, 0%, 78.4%, 45.5%)
CIE-LABlab(51.18, -44.79, 47.25)
CIE-LCHlch(51.18, 65.11, 133.47°)
OKLaboklab(56.44% -0.1233 0.1057)
OKLCHoklch(56.44% 0.162 139.4)
XYZxyz(11.1538, 19.4279, 4.3902)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B1E #701E8B
analogous
#6F8B1E #398B1E #1E8B3A
triadic
#398B1E #1E398B #8B1E39
tetradic
#398B1E #1E6F8B #701E8B #8B3A1E
square
#398B1E #1E6F8B #701E8B #8B3A1E
split-complementary
#398B1E #3A1E8B #8B1E6F
monochromatic
#102608 #245913 #398B1E #4EBD29 #6ED84B

Accessibility & contrast

On white

4.30
#398B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#398B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B1E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B1E#FFFFFF#000000##000000
##398B1E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#308676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b1e;
/* rgb */ color: rgb(57, 139, 30);
/* oklch */ color: oklch(56.4% 0.162 139.4);
Tailwind
colors: {
  custom: {
    50: '#79ae63',
    500: '#398b1e',
    950: '#000000',
  },
}
SCSS
$custom: #398b1e;
$custom-light: #79ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#398b1e",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 105.138,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.1624,
    "h": 139.4
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#398B1E
secondary
#9F4ABB
accent
#40E7BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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