#398D1A#398D1A

#398D1A is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.167 H 139.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#398D1A
RGBrgb(57, 141, 26)
HSLhsl(104, 69%, 33%)
HSVhsv(104, 82%, 55%)
CMYKcmyk(59.6%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.83, -45.80, 49.18)
CIE-LCHlch(51.83, 67.21, 132.96°)
OKLaboklab(56.96% -0.1262 0.1092)
OKLCHoklch(56.96% 0.167 139.1)
XYZxyz(11.3982, 19.9932, 4.2355)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D1A #6E1A8D
analogous
#728D1A #398D1A #1A8D34
triadic
#398D1A #1A398D #8D1A39
tetradic
#398D1A #1A728D #6E1A8D #8D341A
square
#398D1A #1A728D #6E1A8D #8D341A
split-complementary
#398D1A #341A8D #8D1A72
monochromatic
#0F2607 #245910 #398D1A #4EC124 #6EDD45

Accessibility & contrast

On white

4.20
#398D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#398D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D1A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D1A#FFFFFF#000000##000000
##398D1A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#308878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d1a;
/* rgb */ color: rgb(57, 141, 26);
/* oklch */ color: oklch(57.0% 0.167 139.1);
Tailwind
colors: {
  custom: {
    50: '#7aaf61',
    500: '#398d1a',
    950: '#000000',
  },
}
SCSS
$custom: #398d1a;
$custom-light: #7aaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#398d1a",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 103.826,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.16685,
    "h": 139.1
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#398D1A
secondary
#9D45BE
accent
#3CECBC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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