#398E18#398E18

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

Color values

HEX#398E18
RGBrgb(57, 142, 24)
HSLhsl(103, 71%, 33%)
HSVhsv(103, 83%, 56%)
CMYKcmyk(59.9%, 0%, 83.1%, 44.3%)
CIE-LABlab(52.15, -46.29, 50.08)
CIE-LCHlch(52.15, 68.20, 132.74°)
OKLaboklab(57.23% -0.1276 0.1108)
OKLCHoklch(57.23% 0.169 139)
XYZxyz(11.5247, 20.2808, 4.1712)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E18 #6D188E
analogous
#748E18 #398E18 #188E32
triadic
#398E18 #18398E #8E1839
tetradic
#398E18 #18748E #6D188E #8E3218
square
#398E18 #18748E #6D188E #8E3218
split-complementary
#398E18 #32188E #8E1874
monochromatic
#0F2506 #245A0F #398E18 #4EC221 #6DDF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398E18#FFFFFF#000000##000000
##398E181.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)
#928100
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#2F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e18;
/* rgb */ color: rgb(57, 142, 24);
/* oklch */ color: oklch(57.2% 0.169 139.0);
Tailwind
colors: {
  custom: {
    50: '#7ab060',
    500: '#398e18',
    950: '#000000',
  },
}
SCSS
$custom: #398e18;
$custom-light: #7ab060;
$custom-dark: #000000;
JSON
{
  "hex": "#398e18",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 103.22,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57228,
    "c": 0.16897,
    "h": 139
  },
  "luminance": 0.20282
}

Semantic roles & 50–950 ramp

primary
#398E18
secondary
#9D42C0
accent
#3AEEBC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398E18

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

Preview Lab → · Contrast checker → · Palette generator →

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