#398C1A#398C1A

#398C1A is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.166 H 139.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#398C1A
RGBrgb(57, 140, 26)
HSLhsl(104, 69%, 33%)
HSVhsv(104, 81%, 55%)
CMYKcmyk(59.3%, 0%, 81.4%, 45.1%)
CIE-LABlab(51.50, -45.43, 48.87)
CIE-LCHlch(51.50, 66.72, 132.91°)
OKLaboklab(56.69% -0.1252 0.1085)
OKLCHoklch(56.69% 0.166 139.1)
XYZxyz(11.2514, 19.6996, 4.1866)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C1A #6D1A8C
analogous
#728C1A #398C1A #1A8C34
triadic
#398C1A #1A398C #8C1A39
tetradic
#398C1A #1A728C #6D1A8C #8C341A
square
#398C1A #1A728C #6D1A8C #8C341A
split-complementary
#398C1A #341A8C #8C1A72
monochromatic
#0F2507 #245810 #398C1A #4EC024 #6DDC44

Accessibility & contrast

On white

4.25
#398C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#398C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C1A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C1A#FFFFFF#000000##000000
##398C1A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#308777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c1a;
/* rgb */ color: rgb(57, 140, 26);
/* oklch */ color: oklch(56.7% 0.166 139.1);
Tailwind
colors: {
  custom: {
    50: '#7aae61',
    500: '#398c1a',
    950: '#000000',
  },
}
SCSS
$custom: #398c1a;
$custom-light: #7aae61;
$custom-dark: #000000;
JSON
{
  "hex": "#398c1a",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 103.684,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.16567,
    "h": 139.1
  },
  "luminance": 0.19701
}

Semantic roles & 50–950 ramp

primary
#398C1A
secondary
#9D44BE
accent
#3CECBC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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