#398E2B#398E2B

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

Color values

HEX#398E2B
RGBrgb(57, 142, 43)
HSLhsl(112, 54%, 36%)
HSVhsv(112, 70%, 56%)
CMYKcmyk(59.9%, 0%, 69.7%, 44.3%)
CIE-LABlab(52.27, -44.88, 43.34)
CIE-LCHlch(52.27, 62.40, 136.00°)
OKLaboklab(57.37% -0.1227 0.0993)
OKLCHoklch(57.37% 0.158 141)
XYZxyz(11.7958, 20.3892, 5.5989)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E2B #802B8E
analogous
#6B8E2B #398E2B #2B8E4F
triadic
#398E2B #2B398E #8E2B39
tetradic
#398E2B #2B6B8E #802B8E #8E4F2B
square
#398E2B #2B6B8E #802B8E #8E4F2B
split-complementary
#398E2B #4F2B8E #8E2B6B
monochromatic
#13300F #265F1D #398E2B #4CBD39 #73D063

Accessibility & contrast

On white

4.14
#398E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##398E2B#FFFFFF#000000##000000
##398E2B1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#2D897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e2b;
/* rgb */ color: rgb(57, 142, 43);
/* oklch */ color: oklch(57.4% 0.158 141.0);
Tailwind
colors: {
  custom: {
    50: '#79b06a',
    500: '#398e2b',
    950: '#000000',
  },
}
SCSS
$custom: #398e2b;
$custom-light: #79b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#398e2b",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 111.515,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.1579,
    "h": 141
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#398E2B
secondary
#AA5FB6
accent
#4BDDC8
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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