#398239#398239

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

Color values

HEX#398239
RGBrgb(57, 130, 57)
HSLhsl(120, 39%, 37%)
HSVhsv(120, 56%, 51%)
CMYKcmyk(56.2%, 0%, 56.2%, 49%)
CIE-LABlab(48.42, -38.48, 32.40)
CIE-LCHlch(48.42, 50.30, 139.90°)
OKLaboklab(54.24% -0.1046 0.0773)
OKLCHoklch(54.24% 0.13 143.5)
XYZxyz(10.4079, 17.1297, 6.6280)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398239 #823982
analogous
#5E8239 #398239 #39825E
triadic
#398239 #393982 #823939
tetradic
#398239 #395E82 #823982 #825E39
square
#398239 #395E82 #823982 #825E39
split-complementary
#398239 #5E3982 #82395E
monochromatic
#142D14 #265726 #398239 #4CAD4C #74C274

Accessibility & contrast

On white

4.74
#398239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#398239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398239
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398239#FFFFFF#000000##FFFFFF
##3982391.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857732
Deuteranopia (green-blind)
#7B703E
Tritanopia (blue-blind)
#2E7F72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398239;
/* rgb */ color: rgb(57, 130, 57);
/* oklch */ color: oklch(54.2% 0.130 143.5);
Tailwind
colors: {
  custom: {
    50: '#76a771',
    500: '#398239',
    950: '#000000',
  },
}
SCSS
$custom: #398239;
$custom-light: #76a771;
$custom-dark: #000000;
JSON
{
  "hex": "#398239",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 120,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5424,
    "c": 0.13007,
    "h": 143.5
  },
  "luminance": 0.17131
}

Semantic roles & 50–950 ramp

primary
#398239
secondary
#AB6CAB
accent
#59CFCF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #398239

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

Preview Lab → · Contrast checker → · Palette generator →

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