#398F18#398F18

#398F18 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.170 H 139.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#398F18
RGBrgb(57, 143, 24)
HSLhsl(103, 71%, 33%)
HSVhsv(103, 83%, 56%)
CMYKcmyk(60.1%, 0%, 83.2%, 43.9%)
CIE-LABlab(52.49, -46.66, 50.39)
CIE-LCHlch(52.49, 68.67, 132.80°)
OKLaboklab(57.5% -0.1286 0.1114)
OKLCHoklch(57.5% 0.17 139.1)
XYZxyz(11.6742, 20.5797, 4.2211)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F18 #6E188F
analogous
#758F18 #398F18 #188F32
triadic
#398F18 #18398F #8F1839
tetradic
#398F18 #18758F #6E188F #8F3218
square
#398F18 #18758F #6E188F #8F3218
split-complementary
#398F18 #32188F #8F1875
monochromatic
#0F2606 #245B0F #398F18 #4EC321 #6EDF42

Accessibility & contrast

On white

4.10
#398F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#398F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F18
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F18#FFFFFF#000000##000000
##398F181.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#2F8A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f18;
/* rgb */ color: rgb(57, 143, 24);
/* oklch */ color: oklch(57.5% 0.170 139.1);
Tailwind
colors: {
  custom: {
    50: '#7ab161',
    500: '#398f18',
    950: '#000000',
  },
}
SCSS
$custom: #398f18;
$custom-light: #7ab161;
$custom-dark: #000000;
JSON
{
  "hex": "#398f18",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 103.361,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.17014,
    "h": 139.1
  },
  "luminance": 0.20581
}

Semantic roles & 50–950 ramp

primary
#398F18
secondary
#9D43C0
accent
#3AEEBC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #398F18

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

Preview Lab → · Contrast checker → · Palette generator →

#398F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva