#398F15#398F15

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

Color values

HEX#398F15
RGBrgb(57, 143, 21)
HSLhsl(102, 74%, 32%)
HSVhsv(102, 85%, 56%)
CMYKcmyk(60.1%, 0%, 85.3%, 43.9%)
CIE-LABlab(52.47, -46.81, 51.21)
CIE-LCHlch(52.47, 69.38, 132.43°)
OKLaboklab(57.49% -0.1292 0.1127)
OKLCHoklch(57.49% 0.171 138.9)
XYZxyz(11.6447, 20.5679, 4.0657)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F15 #6B158F
analogous
#768F15 #398F15 #158F2E
triadic
#398F15 #15398F #8F1539
tetradic
#398F15 #15768F #6B158F #8F2E15
square
#398F15 #15768F #6B158F #8F2E15
split-complementary
#398F15 #2E158F #8F1576
monochromatic
#0E2405 #245A0D #398F15 #4EC41D #6DE23C

Accessibility & contrast

On white

4.11
#398F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#398F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F15
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F15#FFFFFF#000000##000000
##398F151.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398f15;
/* rgb */ color: rgb(57, 143, 21);
/* oklch */ color: oklch(57.5% 0.171 138.9);
Tailwind
colors: {
  custom: {
    50: '#7bb15f',
    500: '#398f15',
    950: '#000000',
  },
}
SCSS
$custom: #398f15;
$custom-light: #7bb15f;
$custom-dark: #000000;
JSON
{
  "hex": "#398f15",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 102.295,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.1714,
    "h": 138.9
  },
  "luminance": 0.20569
}

Semantic roles & 50–950 ramp

primary
#398F15
secondary
#9B3EC2
accent
#37F1BA
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #398F15

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

Preview Lab → · Contrast checker → · Palette generator →

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