#398A2A#398A2A

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

Color values

HEX#398A2A
RGBrgb(57, 138, 42)
HSLhsl(111, 53%, 35%)
HSVhsv(111, 70%, 54%)
CMYKcmyk(58.7%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.94, -43.43, 42.34)
CIE-LCHlch(50.94, 60.66, 135.73°)
OKLaboklab(56.26% -0.1189 0.0971)
OKLCHoklch(56.26% 0.153 140.8)
XYZxyz(11.1932, 19.2130, 5.3087)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A2A #7B2A8A
analogous
#698A2A #398A2A #2A8A4B
triadic
#398A2A #2A398A #8A2A39
tetradic
#398A2A #2A698A #7B2A8A #8A4B2A
square
#398A2A #2A698A #7B2A8A #8A4B2A
split-complementary
#398A2A #4B2A8A #8A2A69
monochromatic
#122C0D #265B1C #398A2A #4CB938 #71CF60

Accessibility & contrast

On white

4.34
#398A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#398A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A2A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A2A#FFFFFF#000000##000000
##398A2A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398a2a;
/* rgb */ color: rgb(57, 138, 42);
/* oklch */ color: oklch(56.3% 0.153 140.8);
Tailwind
colors: {
  custom: {
    50: '#79ad69',
    500: '#398a2a',
    950: '#000000',
  },
}
SCSS
$custom: #398a2a;
$custom-light: #79ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#398a2a",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 110.625,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.15349,
    "h": 140.8
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#398A2A
secondary
#A65BB4
accent
#4BDDC6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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