#398B2E#398B2E

#398B2E is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.152 H 141.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#398B2E
RGBrgb(57, 139, 46)
HSLhsl(113, 50%, 36%)
HSVhsv(113, 67%, 55%)
CMYKcmyk(59%, 0%, 66.9%, 45.5%)
CIE-LABlab(51.30, -43.43, 40.99)
CIE-LCHlch(51.30, 59.72, 136.65°)
OKLaboklab(56.57% -0.1186 0.0948)
OKLCHoklch(56.57% 0.152 141.4)
XYZxyz(11.4125, 19.5313, 5.7528)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B2E #802E8B
analogous
#688B2E #398B2E #2E8B52
triadic
#398B2E #2E398B #8B2E39
tetradic
#398B2E #2E688B #802E8B #8B522E
square
#398B2E #2E688B #802E8B #8B522E
split-complementary
#398B2E #522E8B #8B2E68
monochromatic
#132F10 #265D1F #398B2E #4CB93D #73CD67

Accessibility & contrast

On white

4.28
#398B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#398B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B2E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B2E#FFFFFF#000000##000000
##398B2E1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#847836
Tritanopia (blue-blind)
#2D8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b2e;
/* rgb */ color: rgb(57, 139, 46);
/* oklch */ color: oklch(56.6% 0.152 141.4);
Tailwind
colors: {
  custom: {
    50: '#79ae6b',
    500: '#398b2e',
    950: '#000000',
  },
}
SCSS
$custom: #398b2e;
$custom-light: #79ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#398b2e",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 112.903,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.15181,
    "h": 141.4
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#398B2E
secondary
#AA61B3
accent
#4EDAC9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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