#398E1E#398E1E

#398E1E is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.166 H 139.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#398E1E
RGBrgb(57, 142, 30)
HSLhsl(106, 65%, 34%)
HSVhsv(106, 79%, 56%)
CMYKcmyk(59.9%, 0%, 78.9%, 44.3%)
CIE-LABlab(52.18, -45.93, 48.22)
CIE-LCHlch(52.18, 66.59, 133.60°)
OKLaboklab(57.26% -0.1263 0.1077)
OKLCHoklch(57.26% 0.166 139.5)
XYZxyz(11.5942, 20.3086, 4.5370)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E1E #731E8E
analogous
#718E1E #398E1E #1E8E3B
triadic
#398E1E #1E398E #8E1E39
tetradic
#398E1E #1E718E #731E8E #8E3B1E
square
#398E1E #1E718E #731E8E #8E3B1E
split-complementary
#398E1E #3B1E8E #8E1E71
monochromatic
#102909 #255B13 #398E1E #4DC129 #6FD94D

Accessibility & contrast

On white

4.15
#398E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#398E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E1E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E1E#FFFFFF#000000##000000
##398E1E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928102
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#2F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e1e;
/* rgb */ color: rgb(57, 142, 30);
/* oklch */ color: oklch(57.3% 0.166 139.5);
Tailwind
colors: {
  custom: {
    50: '#7ab063',
    500: '#398e1e',
    950: '#000000',
  },
}
SCSS
$custom: #398e1e;
$custom-light: #7ab063;
$custom-dark: #000000;
JSON
{
  "hex": "#398e1e",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 105.536,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57263,
    "c": 0.16602,
    "h": 139.5
  },
  "luminance": 0.2031
}

Semantic roles & 50–950 ramp

primary
#398E1E
secondary
#A14CBC
accent
#40E8BF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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