#398E2C#398E2C

#398E2C is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.157 H 141.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#398E2C
RGBrgb(57, 142, 44)
HSLhsl(112, 53%, 36%)
HSVhsv(112, 69%, 56%)
CMYKcmyk(59.9%, 0%, 69%, 44.3%)
CIE-LABlab(52.28, -44.79, 42.93)
CIE-LCHlch(52.28, 62.04, 136.22°)
OKLaboklab(57.38% -0.1224 0.0986)
OKLCHoklch(57.38% 0.157 141.2)
XYZxyz(11.8144, 20.3967, 5.6967)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E2C #812C8E
analogous
#6A8E2C #398E2C #2C8E50
triadic
#398E2C #2C398E #8E2C39
tetradic
#398E2C #2C6A8E #812C8E #8E502C
square
#398E2C #2C6A8E #812C8E #8E502C
split-complementary
#398E2C #502C8E #8E2C6A
monochromatic
#13310F #265F1E #398E2C #4CBD3A #73CF65

Accessibility & contrast

On white

4.13
#398E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#398E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E2C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E2C#FFFFFF#000000##000000
##398E2C1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#2D8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e2c;
/* rgb */ color: rgb(57, 142, 44);
/* oklch */ color: oklch(57.4% 0.157 141.2);
Tailwind
colors: {
  custom: {
    50: '#79b06a',
    500: '#398e2c',
    950: '#000000',
  },
}
SCSS
$custom: #398e2c;
$custom-light: #79b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#398e2c",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 112.041,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.15718,
    "h": 141.2
  },
  "luminance": 0.20398
}

Semantic roles & 50–950 ramp

primary
#398E2C
secondary
#AA60B6
accent
#4CDCC9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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