#398718#398718

#398718 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.161 H 138.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#398718
RGBrgb(57, 135, 24)
HSLhsl(102, 70%, 31%)
HSVhsv(102, 82%, 53%)
CMYKcmyk(57.8%, 0%, 82.2%, 47.1%)
CIE-LABlab(49.81, -43.65, 47.91)
CIE-LCHlch(49.81, 64.81, 132.33°)
OKLaboklab(55.3% -0.1205 0.1062)
OKLCHoklch(55.3% 0.161 138.6)
XYZxyz(10.5158, 18.2629, 3.8349)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398718 #661887
analogous
#708718 #398718 #18872E
triadic
#398718 #183987 #871839
tetradic
#398718 #187087 #661887 #872E18
square
#398718 #187087 #661887 #872E18
split-complementary
#398718 #2E1887 #871870
monochromatic
#0D1F06 #23530F #398718 #4FBB21 #6CDC3D

Accessibility & contrast

On white

4.51
#398718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#398718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398718
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398718#FFFFFF#000000##000000
##3987181.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#318273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #398718;
/* rgb */ color: rgb(57, 135, 24);
/* oklch */ color: oklch(55.3% 0.161 138.6);
Tailwind
colors: {
  custom: {
    50: '#79ab5f',
    500: '#398718',
    950: '#000000',
  },
}
SCSS
$custom: #398718;
$custom-light: #79ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#398718",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 102.162,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.16063,
    "h": 138.6
  },
  "luminance": 0.18264
}

Semantic roles & 50–950 ramp

primary
#398718
secondary
#9640BB
accent
#3BEDB8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398718

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

Preview Lab → · Contrast checker → · Palette generator →

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