#398838#398838

#398838 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.139 H 143.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#398838
RGBrgb(57, 136, 56)
HSLhsl(119, 42%, 38%)
HSVhsv(119, 59%, 53%)
CMYKcmyk(58.1%, 0%, 58.8%, 46.7%)
CIE-LABlab(50.41, -41.08, 35.26)
CIE-LCHlch(50.41, 54.13, 139.36°)
OKLaboklab(55.87% -0.1117 0.0835)
OKLCHoklch(55.87% 0.139 143.2)
XYZxyz(11.2047, 18.7627, 6.7717)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398838 #873888
analogous
#618838 #398838 #38885F
triadic
#398838 #383988 #883839
tetradic
#398838 #386188 #873888 #885F38
square
#398838 #386188 #873888 #885F38
split-complementary
#398838 #5F3888 #883861
monochromatic
#153114 #275D26 #398838 #4BB34A #75C674

Accessibility & contrast

On white

4.42
#398838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#398838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398838
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398838#FFFFFF#000000##000000
##3988381.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C30
Deuteranopia (green-blind)
#81753E
Tritanopia (blue-blind)
#2C8476
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398838;
/* rgb */ color: rgb(57, 136, 56);
/* oklch */ color: oklch(55.9% 0.139 143.2);
Tailwind
colors: {
  custom: {
    50: '#78ab71',
    500: '#398838',
    950: '#000000',
  },
}
SCSS
$custom: #398838;
$custom-light: #78ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#398838",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 56
  },
  "hsl": {
    "h": 119.25,
    "s": 41.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55869,
    "c": 0.13944,
    "h": 143.2
  },
  "luminance": 0.18764
}

Semantic roles & 50–950 ramp

primary
#398838
secondary
#AE6DAF
accent
#56D1D0
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #398838

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

Preview Lab → · Contrast checker → · Palette generator →

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