#398A2C#398A2C

#398A2C is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.152 H 141.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#398A2C
RGBrgb(57, 138, 44)
HSLhsl(112, 52%, 36%)
HSVhsv(112, 68%, 54%)
CMYKcmyk(58.7%, 0%, 68.1%, 45.9%)
CIE-LABlab(50.95, -43.24, 41.50)
CIE-LCHlch(50.95, 59.93, 136.18°)
OKLaboklab(56.28% -0.1182 0.0956)
OKLCHoklch(56.28% 0.152 141)
XYZxyz(11.2299, 19.2277, 5.5019)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A2C #7D2C8A
analogous
#688A2C #398A2C #2C8A4E
triadic
#398A2C #2C398A #8A2C39
tetradic
#398A2C #2C688A #7D2C8A #8A4E2C
square
#398A2C #2C688A #7D2C8A #8A4E2C
split-complementary
#398A2C #4E2C8A #8A2C68
monochromatic
#132D0E #265C1D #398A2C #4CB83B #72CD63

Accessibility & contrast

On white

4.33
#398A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#398A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A2C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A2C#FFFFFF#000000##000000
##398A2C1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E20
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#2E8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a2c;
/* rgb */ color: rgb(57, 138, 44);
/* oklch */ color: oklch(56.3% 0.152 141.0);
Tailwind
colors: {
  custom: {
    50: '#79ad6a',
    500: '#398a2c',
    950: '#000000',
  },
}
SCSS
$custom: #398a2c;
$custom-light: #79ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#398a2c",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 111.702,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.15202,
    "h": 141
  },
  "luminance": 0.19229
}

Semantic roles & 50–950 ramp

primary
#398A2C
secondary
#A85EB4
accent
#4DDBC7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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