#398F35#398F35

#398F35 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.7% C 0.151 H 142.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#398F35
RGBrgb(57, 143, 53)
HSLhsl(117, 46%, 38%)
HSVhsv(117, 63%, 56%)
CMYKcmyk(60.1%, 0%, 62.9%, 43.9%)
CIE-LABlab(52.70, -44.22, 39.34)
CIE-LCHlch(52.70, 59.19, 138.34°)
OKLaboklab(57.75% -0.1204 0.092)
OKLCHoklch(57.75% 0.152 142.6)
XYZxyz(12.1518, 20.7707, 6.7362)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F35 #8B358F
analogous
#668F35 #398F35 #358F5E
triadic
#398F35 #35398F #8F3539
tetradic
#398F35 #35668F #8B358F #8F5E35
square
#398F35 #35668F #8B358F #8F5E35
split-complementary
#398F35 #5E358F #8F3566
monochromatic
#153614 #276224 #398F35 #4CBB47 #77CB73

Accessibility & contrast

On white

4.07
#398F35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#398F35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F35
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F35#FFFFFF#000000##000000
##398F351.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822B
Deuteranopia (green-blind)
#877B3C
Tritanopia (blue-blind)
#2B8B7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398f35;
/* rgb */ color: rgb(57, 143, 53);
/* oklch */ color: oklch(57.7% 0.151 142.6);
Tailwind
colors: {
  custom: {
    50: '#79b170',
    500: '#398f35',
    950: '#000000',
  },
}
SCSS
$custom: #398f35;
$custom-light: #79b170;
$custom-dark: #000000;
JSON
{
  "hex": "#398f35",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 53
  },
  "hsl": {
    "h": 117.333,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57745,
    "c": 0.1515,
    "h": 142.6
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

primary
#398F35
secondary
#B06CB4
accent
#52D6D0
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #398F35

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

Preview Lab → · Contrast checker → · Palette generator →

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