#398D2E#398D2E

#398D2E is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.154 H 141.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#398D2E
RGBrgb(57, 141, 46)
HSLhsl(113, 51%, 37%)
HSVhsv(113, 67%, 55%)
CMYKcmyk(59.6%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.97, -44.21, 41.72)
CIE-LCHlch(51.97, 60.78, 136.66°)
OKLaboklab(57.12% -0.1207 0.0963)
OKLCHoklch(57.12% 0.154 141.4)
XYZxyz(11.7048, 20.1158, 5.8502)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D2E #822E8D
analogous
#698D2E #398D2E #2E8D53
triadic
#398D2E #2E398D #8D2E39
tetradic
#398D2E #2E698D #822E8D #8D532E
square
#398D2E #2E698D #822E8D #8D532E
split-complementary
#398D2E #532E8D #8D2E69
monochromatic
#143110 #265F1F #398D2E #4CBB3D #74CE68

Accessibility & contrast

On white

4.18
#398D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#398D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D2E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D2E#FFFFFF#000000##000000
##398D2E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#2D8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d2e;
/* rgb */ color: rgb(57, 141, 46);
/* oklch */ color: oklch(57.1% 0.154 141.4);
Tailwind
colors: {
  custom: {
    50: '#79af6b',
    500: '#398d2e',
    950: '#000000',
  },
}
SCSS
$custom: #398d2e;
$custom-light: #79af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#398d2e",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 113.053,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57122,
    "c": 0.15441,
    "h": 141.4
  },
  "luminance": 0.20117
}

Semantic roles & 50–950 ramp

primary
#398D2E
secondary
#AB62B5
accent
#4EDACA
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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