#398F2C#398F2C

#398F2C is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.6% C 0.158 H 141.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#398F2C
RGBrgb(57, 143, 44)
HSLhsl(112, 53%, 37%)
HSVhsv(112, 69%, 56%)
CMYKcmyk(60.1%, 0%, 69.2%, 43.9%)
CIE-LABlab(52.61, -45.17, 43.28)
CIE-LCHlch(52.61, 62.56, 136.23°)
OKLaboklab(57.65% -0.1234 0.0993)
OKLCHoklch(57.65% 0.158 141.2)
XYZxyz(11.9638, 20.6955, 5.7466)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F2C #822C8F
analogous
#6B8F2C #398F2C #2C8F51
triadic
#398F2C #2C398F #8F2C39
tetradic
#398F2C #2C6B8F #822C8F #8F512C
square
#398F2C #2C6B8F #822C8F #8F512C
split-complementary
#398F2C #512C8F #8F2C6B
monochromatic
#14310F #26601E #398F2C #4CBE3A #74D066

Accessibility & contrast

On white

4.09
#398F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#398F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F2C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F2C#FFFFFF#000000##000000
##398F2C1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821E
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#2D8B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398f2c;
/* rgb */ color: rgb(57, 143, 44);
/* oklch */ color: oklch(57.6% 0.158 141.2);
Tailwind
colors: {
  custom: {
    50: '#79b16a',
    500: '#398f2c',
    950: '#000000',
  },
}
SCSS
$custom: #398f2c;
$custom-light: #79b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#398f2c",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 112.121,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5765,
    "c": 0.15846,
    "h": 141.2
  },
  "luminance": 0.20697
}

Semantic roles & 50–950 ramp

primary
#398F2C
secondary
#AB61B6
accent
#4BDCC9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #398F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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