#398237#398237

#398237 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.2% C 0.132 H 143.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#398237
RGBrgb(57, 130, 55)
HSLhsl(118, 41%, 36%)
HSVhsv(118, 58%, 51%)
CMYKcmyk(56.2%, 0%, 57.7%, 49%)
CIE-LABlab(48.40, -38.75, 33.39)
CIE-LCHlch(48.40, 51.15, 139.25°)
OKLaboklab(54.21% -0.1054 0.0793)
OKLCHoklch(54.21% 0.132 143)
XYZxyz(10.3590, 17.1101, 6.3704)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398237 #803782
analogous
#5F8237 #398237 #37825B
triadic
#398237 #373982 #823739
tetradic
#398237 #375F82 #803782 #825B37
square
#398237 #375F82 #803782 #825B37
split-complementary
#398237 #5B3782 #82375F
monochromatic
#132C13 #265725 #398237 #4CAD49 #73C371

Accessibility & contrast

On white

4.75
#398237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#398237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398237
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398237#FFFFFF#000000##FFFFFF
##3982371.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857730
Deuteranopia (green-blind)
#7B703D
Tritanopia (blue-blind)
#2E7E71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398237;
/* rgb */ color: rgb(57, 130, 55);
/* oklch */ color: oklch(54.2% 0.132 143.0);
Tailwind
colors: {
  custom: {
    50: '#77a770',
    500: '#398237',
    950: '#000000',
  },
}
SCSS
$custom: #398237;
$custom-light: #77a770;
$custom-dark: #000000;
JSON
{
  "hex": "#398237",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 118.4,
    "s": 40.541,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54211,
    "c": 0.13193,
    "h": 143
  },
  "luminance": 0.17111
}

Semantic roles & 50–950 ramp

primary
#398237
secondary
#AA69AB
accent
#57D0CD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #398237

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

Preview Lab → · Contrast checker → · Palette generator →

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