#398519#398519

#398519 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.158 H 138.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#398519
RGBrgb(57, 133, 25)
HSLhsl(102, 68%, 31%)
HSVhsv(102, 81%, 52%)
CMYKcmyk(57.1%, 0%, 81.2%, 47.8%)
CIE-LABlab(49.15, -42.82, 46.97)
CIE-LCHlch(49.15, 63.56, 132.35°)
OKLaboklab(54.75% -0.1182 0.1044)
OKLCHoklch(54.75% 0.158 138.6)
XYZxyz(10.2499, 17.7143, 3.7986)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398519 #651985
analogous
#6F8519 #398519 #19852F
triadic
#398519 #193985 #851939
tetradic
#398519 #196F85 #651985 #852F19
square
#398519 #196F85 #651985 #852F19
split-complementary
#398519 #2F1985 #85196F
monochromatic
#0D1E06 #23510F #398519 #4FB923 #6CDB3E

Accessibility & contrast

On white

4.62
#398519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#398519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398519
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398519#FFFFFF#000000##FFFFFF
##3985191.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#328071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398519;
/* rgb */ color: rgb(57, 133, 25);
/* oklch */ color: oklch(54.7% 0.158 138.6);
Tailwind
colors: {
  custom: {
    50: '#79a95f',
    500: '#398519',
    950: '#000000',
  },
}
SCSS
$custom: #398519;
$custom-light: #79a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#398519",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 102.222,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.15772,
    "h": 138.6
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#398519
secondary
#9541B9
accent
#3DEBB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398519

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

Preview Lab → · Contrast checker → · Palette generator →

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