#398D1E#398D1E

#398D1E is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.165 H 139.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#398D1E
RGBrgb(57, 141, 30)
HSLhsl(105, 65%, 34%)
HSVhsv(105, 79%, 55%)
CMYKcmyk(59.6%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.85, -45.55, 47.90)
CIE-LCHlch(51.85, 66.10, 133.56°)
OKLaboklab(56.99% -0.1253 0.1071)
OKLCHoklch(56.99% 0.165 139.5)
XYZxyz(11.4461, 20.0123, 4.4876)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D1E #721E8D
analogous
#708D1E #398D1E #1E8D3A
triadic
#398D1E #1E398D #8D1E39
tetradic
#398D1E #1E708D #721E8D #8D3A1E
square
#398D1E #1E708D #721E8D #8D3A1E
split-complementary
#398D1E #3A1E8D #8D1E70
monochromatic
#102809 #255B13 #398D1E #4DBF29 #6FD94C

Accessibility & contrast

On white

4.20
#398D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#398D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D1E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D1E#FFFFFF#000000##000000
##398D1E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918002
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#2F8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d1e;
/* rgb */ color: rgb(57, 141, 30);
/* oklch */ color: oklch(57.0% 0.165 139.5);
Tailwind
colors: {
  custom: {
    50: '#7aaf63',
    500: '#398d1e',
    950: '#000000',
  },
}
SCSS
$custom: #398d1e;
$custom-light: #7aaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#398d1e",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 105.405,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.16482,
    "h": 139.5
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#398D1E
secondary
#A04BBC
accent
#40E8BF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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