#398D26#398D26

#398D26 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.160 H 140.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#398D26
RGBrgb(57, 141, 38)
HSLhsl(109, 58%, 35%)
HSVhsv(109, 73%, 55%)
CMYKcmyk(59.6%, 0%, 73%, 44.7%)
CIE-LABlab(51.90, -44.95, 45.00)
CIE-LCHlch(51.90, 63.60, 134.97°)
OKLaboklab(57.05% -0.1232 0.1022)
OKLCHoklch(57.05% 0.16 140.3)
XYZxyz(11.5615, 20.0585, 5.0958)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D26 #7A268D
analogous
#6C8D26 #398D26 #268D46
triadic
#398D26 #26398D #8D2639
tetradic
#398D26 #266C8D #7A268D #8D4626
square
#398D26 #266C8D #7A268D #8D4626
split-complementary
#398D26 #46268D #8D266C
monochromatic
#122D0C #265D19 #398D26 #4CBD33 #71D35B

Accessibility & contrast

On white

4.19
#398D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#398D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D26
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D26#FFFFFF#000000##000000
##398D261.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#2E8879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d26;
/* rgb */ color: rgb(57, 141, 38);
/* oklch */ color: oklch(57.0% 0.160 140.3);
Tailwind
colors: {
  custom: {
    50: '#79af67',
    500: '#398d26',
    950: '#000000',
  },
}
SCSS
$custom: #398d26;
$custom-light: #79af67;
$custom-dark: #000000;
JSON
{
  "hex": "#398d26",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 108.932,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.16005,
    "h": 140.3
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#398D26
secondary
#A657B8
accent
#47E1C4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D26

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

Preview Lab → · Contrast checker → · Palette generator →

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