#398039#398039

#398039 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.7% C 0.127 H 143.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#398039
RGBrgb(57, 128, 57)
HSLhsl(120, 38%, 36%)
HSVhsv(120, 55%, 50%)
CMYKcmyk(55.5%, 0%, 55.5%, 49.8%)
CIE-LABlab(47.76, -37.63, 31.60)
CIE-LCHlch(47.76, 49.14, 139.98°)
OKLaboklab(53.69% -0.1023 0.0756)
OKLCHoklch(53.69% 0.127 143.5)
XYZxyz(10.1445, 16.6028, 6.5402)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398039 #803980
analogous
#5D8039 #398039 #39805D
triadic
#398039 #393980 #803939
tetradic
#398039 #395D80 #803980 #805D39
square
#398039 #395D80 #803980 #805D39
split-complementary
#398039 #5D3980 #80395D
monochromatic
#132B13 #265626 #398039 #4CAA4C #73C173

Accessibility & contrast

On white

4.86
#398039 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#398039 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398039
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398039#FFFFFF#000000##FFFFFF
##3980391.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827533
Deuteranopia (green-blind)
#796F3E
Tritanopia (blue-blind)
#2E7D70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398039;
/* rgb */ color: rgb(57, 128, 57);
/* oklch */ color: oklch(53.7% 0.127 143.5);
Tailwind
colors: {
  custom: {
    50: '#76a571',
    500: '#398039',
    950: '#000000',
  },
}
SCSS
$custom: #398039;
$custom-light: #76a571;
$custom-dark: #000000;
JSON
{
  "hex": "#398039",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 57
  },
  "hsl": {
    "h": 120,
    "s": 38.378,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53691,
    "c": 0.12719,
    "h": 143.5
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#398039
secondary
#AA6BAA
accent
#59CECE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #398039

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

Preview Lab → · Contrast checker → · Palette generator →

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