#398319#398319

#398319 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.155 H 138.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#398319
RGBrgb(57, 131, 25)
HSLhsl(102, 68%, 31%)
HSVhsv(102, 81%, 51%)
CMYKcmyk(56.5%, 0%, 80.9%, 48.6%)
CIE-LABlab(48.48, -42.04, 46.34)
CIE-LCHlch(48.48, 62.56, 132.22°)
OKLaboklab(54.19% -0.1161 0.1031)
OKLCHoklch(54.19% 0.155 138.4)
XYZxyz(9.9787, 17.1718, 3.7082)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398319 #631983
analogous
#6E8319 #398319 #19832E
triadic
#398319 #193983 #831939
tetradic
#398319 #196E83 #631983 #832E19
square
#398319 #196E83 #631983 #832E19
split-complementary
#398319 #2E1983 #83196E
monochromatic
#0C1C05 #23500F #398319 #4FB623 #6CDA3D

Accessibility & contrast

On white

4.74
#398319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#398319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398319
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398319#FFFFFF#000000##FFFFFF
##3983191.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#327E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398319;
/* rgb */ color: rgb(57, 131, 25);
/* oklch */ color: oklch(54.2% 0.155 138.4);
Tailwind
colors: {
  custom: {
    50: '#78a85f',
    500: '#398319',
    950: '#000000',
  },
}
SCSS
$custom: #398319;
$custom-light: #78a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#398319",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 101.887,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.15527,
    "h": 138.4
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#398319
secondary
#9341B7
accent
#3DEBB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398319

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

Preview Lab → · Contrast checker → · Palette generator →

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