#398B26#398B26

#398B26 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.158 H 140.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#398B26
RGBrgb(57, 139, 38)
HSLhsl(109, 57%, 35%)
HSVhsv(109, 73%, 55%)
CMYKcmyk(59%, 0%, 72.7%, 45.5%)
CIE-LABlab(51.24, -44.18, 44.31)
CIE-LCHlch(51.24, 62.58, 134.91°)
OKLaboklab(56.5% -0.1211 0.1007)
OKLCHoklch(56.5% 0.158 140.3)
XYZxyz(11.2693, 19.4741, 4.9984)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B26 #78268B
analogous
#6C8B26 #398B26 #268B46
triadic
#398B26 #26398B #8B2639
tetradic
#398B26 #266C8B #78268B #8B4626
square
#398B26 #266C8B #78268B #8B4626
split-complementary
#398B26 #46268B #8B266C
monochromatic
#122B0C #255B19 #398B26 #4DBB33 #70D25A

Accessibility & contrast

On white

4.29
#398B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#398B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B26
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B26#FFFFFF#000000##000000
##398B261.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E16
Deuteranopia (green-blind)
#857730
Tritanopia (blue-blind)
#2F8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b26;
/* rgb */ color: rgb(57, 139, 38);
/* oklch */ color: oklch(56.5% 0.158 140.3);
Tailwind
colors: {
  custom: {
    50: '#79ae67',
    500: '#398b26',
    950: '#000000',
  },
}
SCSS
$custom: #398b26;
$custom-light: #79ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#398b26",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 108.713,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56498,
    "c": 0.15753,
    "h": 140.3
  },
  "luminance": 0.19475
}

Semantic roles & 50–950 ramp

primary
#398B26
secondary
#A456B7
accent
#47E0C4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398B26

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

Preview Lab → · Contrast checker → · Palette generator →

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