#398A1A#398A1A

#398A1A is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.163 H 139.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#398A1A
RGBrgb(57, 138, 26)
HSLhsl(103, 68%, 32%)
HSVhsv(103, 81%, 54%)
CMYKcmyk(58.7%, 0%, 81.2%, 45.9%)
CIE-LABlab(50.83, -44.67, 48.24)
CIE-LCHlch(50.83, 65.75, 132.80°)
OKLaboklab(56.14% -0.1232 0.1072)
OKLCHoklch(56.14% 0.163 139)
XYZxyz(10.9618, 19.1205, 4.0900)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A1A #6B1A8A
analogous
#718A1A #398A1A #1A8A33
triadic
#398A1A #1A398A #8A1A39
tetradic
#398A1A #1A718A #6B1A8A #8A331A
square
#398A1A #1A718A #6B1A8A #8A331A
split-complementary
#398A1A #331A8A #8A1A71
monochromatic
#0E2307 #245710 #398A1A #4EBD24 #6DDC43

Accessibility & contrast

On white

4.35
#398A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#398A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A1A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A1A#FFFFFF#000000##000000
##398A1A1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#308575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a1a;
/* rgb */ color: rgb(57, 138, 26);
/* oklch */ color: oklch(56.1% 0.163 139.0);
Tailwind
colors: {
  custom: {
    50: '#79ad61',
    500: '#398a1a',
    950: '#000000',
  },
}
SCSS
$custom: #398a1a;
$custom-light: #79ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#398a1a",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 103.393,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.16327,
    "h": 139
  },
  "luminance": 0.19121
}

Semantic roles & 50–950 ramp

primary
#398A1A
secondary
#9B43BD
accent
#3DEBBB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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