#398C16#398C16

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

Color values

HEX#398C16
RGBrgb(57, 140, 22)
HSLhsl(102, 73%, 32%)
HSVhsv(102, 84%, 55%)
CMYKcmyk(59.3%, 0%, 84.3%, 45.1%)
CIE-LABlab(51.48, -45.65, 50.03)
CIE-LCHlch(51.48, 67.73, 132.37°)
OKLaboklab(56.67% -0.126 0.1104)
OKLCHoklch(56.67% 0.167 138.8)
XYZxyz(11.2098, 19.6830, 3.9674)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C16 #69168C
analogous
#748C16 #398C16 #168C2E
triadic
#398C16 #16398C #8C1639
tetradic
#398C16 #16748C #69168C #8C2E16
square
#398C16 #16748C #69168C #8C2E16
split-complementary
#398C16 #2E168C #8C1674
monochromatic
#0E2205 #23570E #398C16 #4FC11E #6DE03C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398C16#FFFFFF#000000##000000
##398C161.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)
#867825
Tritanopia (blue-blind)
#308777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c16;
/* rgb */ color: rgb(57, 140, 22);
/* oklch */ color: oklch(56.7% 0.167 138.8);
Tailwind
colors: {
  custom: {
    50: '#7aae5f',
    500: '#398c16',
    950: '#000000',
  },
}
SCSS
$custom: #398c16;
$custom-light: #7aae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#398c16",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 102.203,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56666,
    "c": 0.16749,
    "h": 138.8
  },
  "luminance": 0.19684
}

Semantic roles & 50–950 ramp

primary
#398C16
secondary
#993EC0
accent
#38F0B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398C16

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

Preview Lab → · Contrast checker → · Palette generator →

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