#398019#398019

#398019 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.152 H 138.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#398019
RGBrgb(57, 128, 25)
HSLhsl(101, 67%, 30%)
HSVhsv(101, 80%, 50%)
CMYKcmyk(55.5%, 0%, 80.5%, 49.8%)
CIE-LABlab(47.47, -40.86, 45.38)
CIE-LCHlch(47.47, 61.06, 132.00°)
OKLaboklab(53.36% -0.113 0.1011)
OKLCHoklch(53.36% 0.152 138.2)
XYZxyz(9.5816, 16.3776, 3.5758)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398019 #601980
analogous
#6D8019 #398019 #19802C
triadic
#398019 #193980 #801939
tetradic
#398019 #196D80 #601980 #802C19
square
#398019 #196D80 #601980 #802C19
split-complementary
#398019 #2C1980 #80196D
monochromatic
#0B1A05 #224D0F #398019 #50B323 #6CD93B

Accessibility & contrast

On white

4.91
#398019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#398019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398019
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398019#FFFFFF#000000##FFFFFF
##3980191.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#337B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398019;
/* rgb */ color: rgb(57, 128, 25);
/* oklch */ color: oklch(53.4% 0.152 138.2);
Tailwind
colors: {
  custom: {
    50: '#78a55f',
    500: '#398019',
    950: '#000000',
  },
}
SCSS
$custom: #398019;
$custom-light: #78a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#398019",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 101.359,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.15157,
    "h": 138.2
  },
  "luminance": 0.16378
}

Semantic roles & 50–950 ramp

primary
#398019
secondary
#9041B4
accent
#3EEAB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398019

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

Preview Lab → · Contrast checker → · Palette generator →

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