#398A2E#398A2E

#398A2E is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.150 H 141.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#398A2E
RGBrgb(57, 138, 46)
HSLhsl(113, 50%, 36%)
HSVhsv(113, 67%, 54%)
CMYKcmyk(58.7%, 0%, 66.7%, 45.9%)
CIE-LABlab(50.97, -43.04, 40.63)
CIE-LCHlch(50.97, 59.19, 136.65°)
OKLaboklab(56.3% -0.1175 0.094)
OKLCHoklch(56.3% 0.15 141.4)
XYZxyz(11.2684, 19.2431, 5.7047)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A2E #7F2E8A
analogous
#678A2E #398A2E #2E8A51
triadic
#398A2E #2E398A #8A2E39
tetradic
#398A2E #2E678A #7F2E8A #8A512E
square
#398A2E #2E678A #7F2E8A #8A512E
split-complementary
#398A2E #512E8A #8A2E67
monochromatic
#132E0F #265C1F #398A2E #4CB83D #72CC66

Accessibility & contrast

On white

4.33
#398A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#398A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A2E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A2E#FFFFFF#000000##000000
##398A2E1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E22
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#2E8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a2e;
/* rgb */ color: rgb(57, 138, 46);
/* oklch */ color: oklch(56.3% 0.150 141.4);
Tailwind
colors: {
  custom: {
    50: '#78ad6b',
    500: '#398a2e',
    950: '#000000',
  },
}
SCSS
$custom: #398a2e;
$custom-light: #78ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#398a2e",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 112.826,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56299,
    "c": 0.15049,
    "h": 141.4
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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