#398D35#398D35

#398D35 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.149 H 142.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#398D35
RGBrgb(57, 141, 53)
HSLhsl(117, 45%, 38%)
HSVhsv(117, 62%, 55%)
CMYKcmyk(59.6%, 0%, 62.4%, 44.7%)
CIE-LABlab(52.04, -43.44, 38.59)
CIE-LCHlch(52.04, 58.11, 138.38°)
OKLaboklab(57.2% -0.1182 0.0904)
OKLCHoklch(57.2% 0.149 142.6)
XYZxyz(11.8542, 20.1756, 6.6371)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D35 #89358D
analogous
#658D35 #398D35 #358D5D
triadic
#398D35 #35398D #8D3539
tetradic
#398D35 #35658D #89358D #8D5D35
square
#398D35 #35658D #89358D #8D5D35
split-complementary
#398D35 #5D358D #8D3565
monochromatic
#153414 #276124 #398D35 #4BB946 #76CA72

Accessibility & contrast

On white

4.17
#398D35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#398D35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D35
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D35#FFFFFF#000000##000000
##398D351.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802B
Deuteranopia (green-blind)
#85793C
Tritanopia (blue-blind)
#2B897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d35;
/* rgb */ color: rgb(57, 141, 53);
/* oklch */ color: oklch(57.2% 0.149 142.6);
Tailwind
colors: {
  custom: {
    50: '#79af70',
    500: '#398d35',
    950: '#000000',
  },
}
SCSS
$custom: #398d35;
$custom-light: #79af70;
$custom-dark: #000000;
JSON
{
  "hex": "#398d35",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 53
  },
  "hsl": {
    "h": 117.273,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.14884,
    "h": 142.6
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#398D35
secondary
#AF6BB2
accent
#53D5CF
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #398D35

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

Preview Lab → · Contrast checker → · Palette generator →

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