#398E14#398E14

#398E14 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.171 H 138.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#398E14
RGBrgb(57, 142, 20)
HSLhsl(102, 75%, 32%)
HSVhsv(102, 86%, 56%)
CMYKcmyk(59.9%, 0%, 85.9%, 44.3%)
CIE-LABlab(52.14, -46.49, 51.17)
CIE-LCHlch(52.14, 69.13, 132.26°)
OKLaboklab(57.21% -0.1283 0.1125)
OKLCHoklch(57.21% 0.171 138.8)
XYZxyz(11.4862, 20.2654, 3.9680)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E14 #69148E
analogous
#768E14 #398E14 #148E2C
triadic
#398E14 #14398E #8E1439
tetradic
#398E14 #14768E #69148E #8E2C14
square
#398E14 #14768E #69148E #8E2C14
split-complementary
#398E14 #2C148E #8E1476
monochromatic
#0E2305 #23580C #398E14 #4FC41C #6DE339

Accessibility & contrast

On white

4.16
#398E14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#398E14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E14
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E14#FFFFFF#000000##000000
##398E141.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#308978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e14;
/* rgb */ color: rgb(57, 142, 20);
/* oklch */ color: oklch(57.2% 0.171 138.8);
Tailwind
colors: {
  custom: {
    50: '#7ab05f',
    500: '#398e14',
    950: '#000000',
  },
}
SCSS
$custom: #398e14;
$custom-light: #7ab05f;
$custom-dark: #000000;
JSON
{
  "hex": "#398e14",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 101.803,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57208,
    "c": 0.17064,
    "h": 138.8
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#398E14
secondary
#993CC2
accent
#36F2B9
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398E14

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

Preview Lab → · Contrast checker → · Palette generator →

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