#398918#398918

#398918 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.163 H 138.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#398918
RGBrgb(57, 137, 24)
HSLhsl(102, 70%, 32%)
HSVhsv(102, 82%, 54%)
CMYKcmyk(58.4%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.48, -44.41, 48.54)
CIE-LCHlch(50.48, 65.79, 132.46°)
OKLaboklab(55.85% -0.1226 0.1075)
OKLCHoklch(55.85% 0.163 138.7)
XYZxyz(10.7974, 18.8262, 3.9288)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398918 #681889
analogous
#728918 #398918 #188930
triadic
#398918 #183989 #891839
tetradic
#398918 #187289 #681889 #893018
square
#398918 #187289 #681889 #893018
split-complementary
#398918 #301889 #891872
monochromatic
#0E2106 #23550F #398918 #4FBD21 #6DDD3E

Accessibility & contrast

On white

4.41
#398918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#398918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398918
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398918#FFFFFF#000000##000000
##3989181.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#318474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398918;
/* rgb */ color: rgb(57, 137, 24);
/* oklch */ color: oklch(55.8% 0.163 138.7);
Tailwind
colors: {
  custom: {
    50: '#79ac60',
    500: '#398918',
    950: '#000000',
  },
}
SCSS
$custom: #398918;
$custom-light: #79ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#398918",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 102.478,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.16304,
    "h": 138.7
  },
  "luminance": 0.18827
}

Semantic roles & 50–950 ramp

primary
#398918
secondary
#9840BD
accent
#3BEDB9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398918

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

Preview Lab → · Contrast checker → · Palette generator →

#398918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva