#398C28#398C28

#398C28 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.157 H 140.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#398C28
RGBrgb(57, 140, 40)
HSLhsl(110, 56%, 35%)
HSVhsv(110, 71%, 55%)
CMYKcmyk(59.3%, 0%, 71.4%, 45.1%)
CIE-LABlab(51.59, -44.39, 43.87)
CIE-LCHlch(51.59, 62.41, 135.34°)
OKLaboklab(56.79% -0.1216 0.1001)
OKLCHoklch(56.79% 0.157 140.5)
XYZxyz(11.4479, 19.7782, 5.2214)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C28 #7B288C
analogous
#6B8C28 #398C28 #288C49
triadic
#398C28 #28398C #8C2839
tetradic
#398C28 #286B8C #7B288C #8C4928
square
#398C28 #286B8C #7B288C #8C4928
split-complementary
#398C28 #49288C #8C286B
monochromatic
#122D0D #265C1A #398C28 #4CBC36 #71D15E

Accessibility & contrast

On white

4.24
#398C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#398C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C28
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C28#FFFFFF#000000##000000
##398C281.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#2E8778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c28;
/* rgb */ color: rgb(57, 140, 40);
/* oklch */ color: oklch(56.8% 0.157 140.5);
Tailwind
colors: {
  custom: {
    50: '#79ae68',
    500: '#398c28',
    950: '#000000',
  },
}
SCSS
$custom: #398c28;
$custom-light: #79ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#398c28",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 109.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.15745,
    "h": 140.5
  },
  "luminance": 0.19779
}

Semantic roles & 50–950 ramp

primary
#398C28
secondary
#A65AB6
accent
#49DFC5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398C28

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

Preview Lab → · Contrast checker → · Palette generator →

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