#398B29#398B29

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

Color values

HEX#398B29
RGBrgb(57, 139, 41)
HSLhsl(110, 54%, 35%)
HSVhsv(110, 71%, 55%)
CMYKcmyk(59%, 0%, 70.5%, 45.5%)
CIE-LABlab(51.26, -43.92, 43.11)
CIE-LCHlch(51.26, 61.54, 135.53°)
OKLaboklab(56.52% -0.1202 0.0986)
OKLCHoklch(56.52% 0.155 140.6)
XYZxyz(11.3197, 19.4942, 5.2636)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B29 #7B298B
analogous
#6A8B29 #398B29 #298B4A
triadic
#398B29 #29398B #8B2939
tetradic
#398B29 #296A8B #7B298B #8B4A29
square
#398B29 #296A8B #7B298B #8B4A29
split-complementary
#398B29 #4A298B #8B296A
monochromatic
#122C0D #265C1B #398B29 #4CBA37 #71D05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398B29#FFFFFF#000000##000000
##398B291.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)
#8F7E1B
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#2E8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b29;
/* rgb */ color: rgb(57, 139, 41);
/* oklch */ color: oklch(56.5% 0.155 140.6);
Tailwind
colors: {
  custom: {
    50: '#79ae68',
    500: '#398b29',
    950: '#000000',
  },
}
SCSS
$custom: #398b29;
$custom-light: #79ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#398b29",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 110.204,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.15549,
    "h": 140.6
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#398B29
secondary
#A65BB5
accent
#4ADEC6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398B29

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

Preview Lab → · Contrast checker → · Palette generator →

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