#398218#398218

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

Color values

HEX#398218
RGBrgb(57, 130, 24)
HSLhsl(101, 69%, 30%)
HSVhsv(101, 82%, 51%)
CMYKcmyk(56.2%, 0%, 81.5%, 49%)
CIE-LABlab(48.13, -41.71, 46.34)
CIE-LCHlch(48.13, 62.34, 131.99°)
OKLaboklab(53.91% -0.1153 0.1029)
OKLCHoklch(53.91% 0.155 138.3)
XYZxyz(9.8345, 16.9003, 3.6078)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398218 #611882
analogous
#6E8218 #398218 #18822C
triadic
#398218 #183982 #821839
tetradic
#398218 #186E82 #611882 #822C18
square
#398218 #186E82 #611882 #822C18
split-complementary
#398218 #2C1882 #82186E
monochromatic
#0C1B05 #224E0E #398218 #50B622 #6CDB3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398218#FFFFFF#000000##FFFFFF
##3982181.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)
#7D7024
Tritanopia (blue-blind)
#337D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398218;
/* rgb */ color: rgb(57, 130, 24);
/* oklch */ color: oklch(53.9% 0.155 138.3);
Tailwind
colors: {
  custom: {
    50: '#78a75f',
    500: '#398218',
    950: '#000000',
  },
}
SCSS
$custom: #398218;
$custom-light: #78a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#398218",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 101.321,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53909,
    "c": 0.15455,
    "h": 138.3
  },
  "luminance": 0.16901
}

Semantic roles & 50–950 ramp

primary
#398218
secondary
#9140B6
accent
#3CECB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398218

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

Preview Lab → · Contrast checker → · Palette generator →

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