#398E16#398E16

#398E16 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.170 H 138.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#398E16
RGBrgb(57, 142, 22)
HSLhsl(103, 73%, 32%)
HSVhsv(103, 85%, 56%)
CMYKcmyk(59.9%, 0%, 84.5%, 44.3%)
CIE-LABlab(52.14, -46.39, 50.64)
CIE-LCHlch(52.14, 68.68, 132.49°)
OKLaboklab(57.22% -0.128 0.1116)
OKLCHoklch(57.22% 0.17 138.9)
XYZxyz(11.5047, 20.2728, 4.0657)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E16 #6B168E
analogous
#758E16 #398E16 #168E2F
triadic
#398E16 #16398E #8E1639
tetradic
#398E16 #16758E #6B168E #8E2F16
square
#398E16 #16758E #6B168E #8E2F16
split-complementary
#398E16 #2F168E #8E1675
monochromatic
#0E2406 #24590E #398E16 #4EC31E #6DE13D

Accessibility & contrast

On white

4.15
#398E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#398E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E16
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E16#FFFFFF#000000##000000
##398E161.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#308979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e16;
/* rgb */ color: rgb(57, 142, 22);
/* oklch */ color: oklch(57.2% 0.170 138.9);
Tailwind
colors: {
  custom: {
    50: '#7ab060',
    500: '#398e16',
    950: '#000000',
  },
}
SCSS
$custom: #398e16;
$custom-light: #7ab060;
$custom-dark: #000000;
JSON
{
  "hex": "#398e16",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 102.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57217,
    "c": 0.16983,
    "h": 138.9
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#398E16
secondary
#9B3FC1
accent
#38F0BA
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398E16

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

Preview Lab → · Contrast checker → · Palette generator →

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