#398F2A#398F2A

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

Color values

HEX#398F2A
RGBrgb(57, 143, 42)
HSLhsl(111, 55%, 36%)
HSVhsv(111, 71%, 56%)
CMYKcmyk(60.1%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.60, -45.36, 44.10)
CIE-LCHlch(52.60, 63.27, 135.80°)
OKLaboklab(57.63% -0.1241 0.1008)
OKLCHoklch(57.63% 0.16 140.9)
XYZxyz(11.9272, 20.6809, 5.5533)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F2A #802A8F
analogous
#6C8F2A #398F2A #2A8F4E
triadic
#398F2A #2A398F #8F2A39
tetradic
#398F2A #2A6C8F #802A8F #8F4E2A
square
#398F2A #2A6C8F #802A8F #8F4E2A
split-complementary
#398F2A #4E2A8F #8F2A6C
monochromatic
#13300E #26601C #398F2A #4CBE38 #73D162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398F2A#FFFFFF#000000##000000
##398F2A1.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)
#93821B
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#2D8A7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f2a;
/* rgb */ color: rgb(57, 143, 42);
/* oklch */ color: oklch(57.6% 0.160 140.9);
Tailwind
colors: {
  custom: {
    50: '#7ab169',
    500: '#398f2a',
    950: '#000000',
  },
}
SCSS
$custom: #398f2a;
$custom-light: #7ab169;
$custom-dark: #000000;
JSON
{
  "hex": "#398f2a",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 111.089,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57631,
    "c": 0.15986,
    "h": 140.9
  },
  "luminance": 0.20682
}

Semantic roles & 50–950 ramp

primary
#398F2A
secondary
#AA5EB7
accent
#4ADEC8
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #398F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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