#398337#398337

#398337 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.133 H 143.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#398337
RGBrgb(57, 131, 55)
HSLhsl(118, 41%, 36%)
HSVhsv(118, 58%, 51%)
CMYKcmyk(56.5%, 0%, 58%, 48.6%)
CIE-LABlab(48.73, -39.16, 33.78)
CIE-LCHlch(48.73, 51.72, 139.22°)
OKLaboklab(54.49% -0.1065 0.0802)
OKLCHoklch(54.49% 0.133 143)
XYZxyz(10.4927, 17.3774, 6.4149)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398337 #813783
analogous
#5F8337 #398337 #37835B
triadic
#398337 #373983 #833739
tetradic
#398337 #375F83 #813783 #835B37
square
#398337 #375F83 #813783 #835B37
split-complementary
#398337 #5B3783 #83375F
monochromatic
#132D13 #265825 #398337 #4CAE49 #73C371

Accessibility & contrast

On white

4.69
#398337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#398337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398337
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398337#FFFFFF#000000##FFFFFF
##3983371.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#7C713D
Tritanopia (blue-blind)
#2E7F72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398337;
/* rgb */ color: rgb(57, 131, 55);
/* oklch */ color: oklch(54.5% 0.133 143.0);
Tailwind
colors: {
  custom: {
    50: '#77a870',
    500: '#398337',
    950: '#000000',
  },
}
SCSS
$custom: #398337;
$custom-light: #77a870;
$custom-dark: #000000;
JSON
{
  "hex": "#398337",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 118.421,
    "s": 40.86,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.13334,
    "h": 143
  },
  "luminance": 0.17378
}

Semantic roles & 50–950 ramp

primary
#398337
secondary
#AA6AAC
accent
#57D1CE
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #398337

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

Preview Lab → · Contrast checker → · Palette generator →

#398337 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva