#398216#398216

#398216 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.156 H 138.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#398216
RGBrgb(57, 130, 22)
HSLhsl(101, 71%, 30%)
HSVhsv(101, 83%, 51%)
CMYKcmyk(56.2%, 0%, 83.1%, 49%)
CIE-LABlab(48.12, -41.82, 46.95)
CIE-LCHlch(48.12, 62.88, 131.69°)
OKLaboklab(53.9% -0.1157 0.1039)
OKLCHoklch(53.9% 0.156 138.1)
XYZxyz(9.8144, 16.8923, 3.5023)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398216 #5F1682
analogous
#6F8216 #398216 #168229
triadic
#398216 #163982 #821639
tetradic
#398216 #166F82 #5F1682 #822916
square
#398216 #166F82 #5F1682 #822916
split-complementary
#398216 #291682 #82166F
monochromatic
#0B1A04 #224E0D #398216 #50B61F #6CDD35

Accessibility & contrast

On white

4.80
#398216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#398216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398216
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398216#FFFFFF#000000##FFFFFF
##3982161.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#337D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398216;
/* rgb */ color: rgb(57, 130, 22);
/* oklch */ color: oklch(53.9% 0.156 138.1);
Tailwind
colors: {
  custom: {
    50: '#78a75e',
    500: '#398216',
    950: '#000000',
  },
}
SCSS
$custom: #398216;
$custom-light: #78a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#398216",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 100.556,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53897,
    "c": 0.15553,
    "h": 138.1
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

primary
#398216
secondary
#8F3DB7
accent
#3AEEB4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398216

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

Preview Lab → · Contrast checker → · Palette generator →

#398216 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva