#398A1C#398A1C

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

Color values

HEX#398A1C
RGBrgb(57, 138, 28)
HSLhsl(104, 66%, 33%)
HSVhsv(104, 80%, 54%)
CMYKcmyk(58.7%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.84, -44.55, 47.60)
CIE-LCHlch(50.84, 65.19, 133.10°)
OKLaboklab(56.15% -0.1227 0.1061)
OKLCHoklch(56.15% 0.162 139.1)
XYZxyz(10.9850, 19.1297, 4.2119)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A1C #6D1C8A
analogous
#708A1C #398A1C #1C8A36
triadic
#398A1C #1C398A #8A1C39
tetradic
#398A1C #1C708A #6D1C8A #8A361C
square
#398A1C #1C708A #6D1C8A #8A361C
split-complementary
#398A1C #361C8A #8A1C70
monochromatic
#0F2407 #245712 #398A1C #4EBD26 #6DDA47

Accessibility & contrast

On white

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

On black

4.83
#398A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A1C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A1C#FFFFFF#000000##000000
##398A1C1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398a1c;
/* rgb */ color: rgb(57, 138, 28);
/* oklch */ color: oklch(56.1% 0.162 139.1);
Tailwind
colors: {
  custom: {
    50: '#79ad62',
    500: '#398a1c',
    950: '#000000',
  },
}
SCSS
$custom: #398a1c;
$custom-light: #79ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#398a1c",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 104.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56148,
    "c": 0.16225,
    "h": 139.1
  },
  "luminance": 0.19131
}

Semantic roles & 50–950 ramp

primary
#398A1C
secondary
#9D46BB
accent
#3FE9BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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