#398D36#398D36

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

Color values

HEX#398D36
RGBrgb(57, 141, 54)
HSLhsl(118, 45%, 38%)
HSVhsv(118, 62%, 55%)
CMYKcmyk(59.6%, 0%, 61.7%, 44.7%)
CIE-LABlab(52.05, -43.32, 38.13)
CIE-LCHlch(52.05, 57.71, 138.65°)
OKLaboklab(57.21% -0.1179 0.0895)
OKLCHoklch(57.21% 0.148 142.8)
XYZxyz(11.8774, 20.1849, 6.7595)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D36 #8A368D
analogous
#648D36 #398D36 #368D5E
triadic
#398D36 #36398D #8D3639
tetradic
#398D36 #36648D #8A368D #8D5E36
square
#398D36 #36648D #8A368D #8D5E36
split-complementary
#398D36 #5E368D #8D3664
monochromatic
#153414 #276125 #398D36 #4BB947 #77CA74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398D36#FFFFFF#000000##000000
##398D361.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)
#90812D
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#2B897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d36;
/* rgb */ color: rgb(57, 141, 54);
/* oklch */ color: oklch(57.2% 0.148 142.8);
Tailwind
colors: {
  custom: {
    50: '#79af70',
    500: '#398d36',
    950: '#000000',
  },
}
SCSS
$custom: #398d36;
$custom-light: #79af70;
$custom-dark: #000000;
JSON
{
  "hex": "#398d36",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 117.931,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57211,
    "c": 0.148,
    "h": 142.8
  },
  "luminance": 0.20186
}

Semantic roles & 50–950 ramp

primary
#398D36
secondary
#B06DB2
accent
#53D4D0
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #398D36

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

Preview Lab → · Contrast checker → · Palette generator →

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