#398518#398518

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

Color values

HEX#398518
RGBrgb(57, 133, 24)
HSLhsl(102, 69%, 31%)
HSVhsv(102, 82%, 52%)
CMYKcmyk(57.1%, 0%, 82%, 47.8%)
CIE-LABlab(49.14, -42.88, 47.29)
CIE-LCHlch(49.14, 63.83, 132.20°)
OKLaboklab(54.74% -0.1185 0.1049)
OKLCHoklch(54.74% 0.158 138.5)
XYZxyz(10.2394, 17.7100, 3.7428)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398518 #641885
analogous
#6F8518 #398518 #18852D
triadic
#398518 #183985 #851839
tetradic
#398518 #186F85 #641885 #852D18
square
#398518 #186F85 #641885 #852D18
split-complementary
#398518 #2D1885 #85186F
monochromatic
#0D1D05 #23510F #398518 #4FB921 #6CDC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398518#FFFFFF#000000##FFFFFF
##3985181.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)
#807225
Tritanopia (blue-blind)
#328071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398518;
/* rgb */ color: rgb(57, 133, 24);
/* oklch */ color: oklch(54.7% 0.158 138.5);
Tailwind
colors: {
  custom: {
    50: '#79a95f',
    500: '#398518',
    950: '#000000',
  },
}
SCSS
$custom: #398518;
$custom-light: #79a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#398518",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 101.835,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54741,
    "c": 0.15822,
    "h": 138.5
  },
  "luminance": 0.17711
}

Semantic roles & 50–950 ramp

primary
#398518
secondary
#9440B9
accent
#3CECB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398518

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

Preview Lab → · Contrast checker → · Palette generator →

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