#398618#398618

#398618 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.159 H 138.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#398618
RGBrgb(57, 134, 24)
HSLhsl(102, 70%, 31%)
HSVhsv(102, 82%, 53%)
CMYKcmyk(57.5%, 0%, 82.1%, 47.5%)
CIE-LABlab(49.48, -43.26, 47.60)
CIE-LCHlch(49.48, 64.32, 132.27°)
OKLaboklab(55.02% -0.1195 0.1055)
OKLCHoklch(55.02% 0.159 138.5)
XYZxyz(10.3769, 17.9851, 3.7886)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398618 #651886
analogous
#708618 #398618 #18862E
triadic
#398618 #183986 #861839
tetradic
#398618 #187086 #651886 #862E18
square
#398618 #187086 #651886 #862E18
split-complementary
#398618 #2E1886 #861870
monochromatic
#0D1E05 #23520F #398618 #4FBA21 #6CDC3C

Accessibility & contrast

On white

4.57
#398618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#398618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398618
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398618#FFFFFF#000000##000000
##3986181.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#328172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #398618;
/* rgb */ color: rgb(57, 134, 24);
/* oklch */ color: oklch(55.0% 0.159 138.5);
Tailwind
colors: {
  custom: {
    50: '#79aa5f',
    500: '#398618',
    950: '#000000',
  },
}
SCSS
$custom: #398618;
$custom-light: #79aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#398618",
  "rgb": {
    "r": 57,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 102,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.15943,
    "h": 138.5
  },
  "luminance": 0.17986
}

Semantic roles & 50–950 ramp

primary
#398618
secondary
#9540BA
accent
#3BECB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398618

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

Preview Lab → · Contrast checker → · Palette generator →

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