#398726#398726

#398726 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.152 H 140.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#398726
RGBrgb(57, 135, 38)
HSLhsl(108, 56%, 34%)
HSVhsv(108, 72%, 53%)
CMYKcmyk(57.8%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.90, -42.63, 42.93)
CIE-LCHlch(49.90, 60.50, 134.80°)
OKLaboklab(55.4% -0.1169 0.0978)
OKLCHoklch(55.4% 0.152 140.1)
XYZxyz(10.7007, 18.3368, 4.8088)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398726 #742687
analogous
#6A8726 #398726 #268744
triadic
#398726 #263987 #872639
tetradic
#398726 #266A87 #742687 #874426
square
#398726 #266A87 #742687 #874426
split-complementary
#398726 #442687 #87266A
monochromatic
#11270B #255719 #398726 #4DB733 #6FD058

Accessibility & contrast

On white

4.50
#398726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#398726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398726
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398726#FFFFFF#000000##000000
##3987261.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B17
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#308374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398726;
/* rgb */ color: rgb(57, 135, 38);
/* oklch */ color: oklch(55.4% 0.152 140.1);
Tailwind
colors: {
  custom: {
    50: '#78ab66',
    500: '#398726',
    950: '#000000',
  },
}
SCSS
$custom: #398726;
$custom-light: #78ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#398726",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 108.247,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.15246,
    "h": 140.1
  },
  "luminance": 0.18338
}

Semantic roles & 50–950 ramp

primary
#398726
secondary
#A254B5
accent
#48DFC2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398726

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

Preview Lab → · Contrast checker → · Palette generator →

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