#398418#398418

#398418 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.157 H 138.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#398418
RGBrgb(57, 132, 24)
HSLhsl(102, 69%, 31%)
HSVhsv(102, 82%, 52%)
CMYKcmyk(56.8%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.81, -42.49, 46.97)
CIE-LCHlch(48.81, 63.34, 132.13°)
OKLaboklab(54.46% -0.1174 0.1042)
OKLCHoklch(54.46% 0.157 138.4)
XYZxyz(10.1031, 17.4375, 3.6974)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398418 #631884
analogous
#6F8418 #398418 #18842D
triadic
#398418 #183984 #841839
tetradic
#398418 #186F84 #631884 #842D18
square
#398418 #186F84 #631884 #842D18
split-complementary
#398418 #2D1884 #84186F
monochromatic
#0C1C05 #23500F #398418 #4FB821 #6CDB3B

Accessibility & contrast

On white

4.68
#398418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#398418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398418
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398418#FFFFFF#000000##FFFFFF
##3984181.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#327F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398418;
/* rgb */ color: rgb(57, 132, 24);
/* oklch */ color: oklch(54.5% 0.157 138.4);
Tailwind
colors: {
  custom: {
    50: '#78a85f',
    500: '#398418',
    950: '#000000',
  },
}
SCSS
$custom: #398418;
$custom-light: #78a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#398418",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 101.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.15701,
    "h": 138.4
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#398418
secondary
#9340B8
accent
#3CECB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398418

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

Preview Lab → · Contrast checker → · Palette generator →

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