#398F14#398F14

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

Color values

HEX#398F14
RGBrgb(57, 143, 20)
HSLhsl(102, 75%, 32%)
HSVhsv(102, 86%, 56%)
CMYKcmyk(60.1%, 0%, 86%, 43.9%)
CIE-LABlab(52.47, -46.86, 51.47)
CIE-LCHlch(52.47, 69.60, 132.32°)
OKLaboklab(57.48% -0.1293 0.1131)
OKLCHoklch(57.48% 0.172 138.8)
XYZxyz(11.6356, 20.5643, 4.0178)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F14 #6A148F
analogous
#778F14 #398F14 #148F2C
triadic
#398F14 #14398F #8F1439
tetradic
#398F14 #14778F #6A148F #8F2C14
square
#398F14 #14778F #6A148F #8F2C14
split-complementary
#398F14 #2C148F #8F1477
monochromatic
#0E2405 #24590C #398F14 #4EC51C #6DE33A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398F14#FFFFFF#000000##000000
##398F141.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)
#938100
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#308A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f14;
/* rgb */ color: rgb(57, 143, 20);
/* oklch */ color: oklch(57.5% 0.172 138.8);
Tailwind
colors: {
  custom: {
    50: '#7bb15f',
    500: '#398f14',
    950: '#000000',
  },
}
SCSS
$custom: #398f14;
$custom-light: #7bb15f;
$custom-dark: #000000;
JSON
{
  "hex": "#398f14",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 101.951,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57483,
    "c": 0.1718,
    "h": 138.8
  },
  "luminance": 0.20565
}

Semantic roles & 50–950 ramp

primary
#398F14
secondary
#9A3CC3
accent
#36F2B9
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #398F14

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

Preview Lab → · Contrast checker → · Palette generator →

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