#398219#398219

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

Color values

HEX#398219
RGBrgb(57, 130, 25)
HSLhsl(102, 68%, 30%)
HSVhsv(102, 81%, 51%)
CMYKcmyk(56.2%, 0%, 80.8%, 49%)
CIE-LABlab(48.14, -41.65, 46.02)
CIE-LCHlch(48.14, 62.06, 132.14°)
OKLaboklab(53.92% -0.1151 0.1024)
OKLCHoklch(53.92% 0.154 138.3)
XYZxyz(9.8451, 16.9045, 3.6636)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398219 #621982
analogous
#6D8219 #398219 #19822D
triadic
#398219 #193982 #821939
tetradic
#398219 #196D82 #621982 #822D19
square
#398219 #196D82 #621982 #822D19
split-complementary
#398219 #2D1982 #82196D
monochromatic
#0C1B05 #224F0F #398219 #50B523 #6CD93C

Accessibility & contrast

On white

4.79
#398219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #398219
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398219#FFFFFF#000000##FFFFFF
##3982191.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398219;
/* rgb */ color: rgb(57, 130, 25);
/* oklch */ color: oklch(53.9% 0.154 138.3);
Tailwind
colors: {
  custom: {
    50: '#78a75f',
    500: '#398219',
    950: '#000000',
  },
}
SCSS
$custom: #398219;
$custom-light: #78a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#398219",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 101.714,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.15405,
    "h": 138.3
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#398219
secondary
#9241B6
accent
#3DEBB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398219

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

Preview Lab → · Contrast checker → · Palette generator →

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