#398F16#398F16

#398F16 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.171 H 139.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#398F16
RGBrgb(57, 143, 22)
HSLhsl(103, 73%, 32%)
HSVhsv(103, 85%, 56%)
CMYKcmyk(60.1%, 0%, 84.6%, 43.9%)
CIE-LABlab(52.48, -46.76, 50.94)
CIE-LCHlch(52.48, 69.15, 132.55°)
OKLaboklab(57.49% -0.129 0.1123)
OKLCHoklch(57.49% 0.171 139)
XYZxyz(11.6541, 20.5717, 4.1155)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F16 #6C168F
analogous
#758F16 #398F16 #168F30
triadic
#398F16 #16398F #8F1639
tetradic
#398F16 #16758F #6C168F #8F3016
square
#398F16 #16758F #6C168F #8F3016
split-complementary
#398F16 #30168F #8F1675
monochromatic
#0F2506 #245A0E #398F16 #4EC41E #6DE13E

Accessibility & contrast

On white

4.11
#398F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#398F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F16
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F16#FFFFFF#000000##000000
##398F161.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#2F8A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f16;
/* rgb */ color: rgb(57, 143, 22);
/* oklch */ color: oklch(57.5% 0.171 139.0);
Tailwind
colors: {
  custom: {
    50: '#7ab160',
    500: '#398f16',
    950: '#000000',
  },
}
SCSS
$custom: #398f16;
$custom-light: #7ab160;
$custom-dark: #000000;
JSON
{
  "hex": "#398f16",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 102.645,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57493,
    "c": 0.171,
    "h": 139
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#398F16
secondary
#9C3FC1
accent
#38F0BB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #398F16

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

Preview Lab → · Contrast checker → · Palette generator →

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