#398142#398142

#398142 is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.1% C 0.120 H 146.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#398142
RGBrgb(57, 129, 66)
HSLhsl(128, 39%, 36%)
HSVhsv(128, 56%, 51%)
CMYKcmyk(55.8%, 0%, 48.8%, 49.4%)
CIE-LABlab(48.21, -36.71, 27.39)
CIE-LCHlch(48.21, 45.81, 143.27°)
OKLaboklab(54.11% -0.0995 0.0667)
OKLCHoklch(54.11% 0.12 146.2)
XYZxyz(10.5203, 16.9628, 7.8730)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398142 #813978
analogous
#548139 #398142 #398166
triadic
#398142 #423981 #814239
tetradic
#398142 #395481 #813978 #816639
square
#398142 #395481 #813978 #816639
split-complementary
#398142 #663981 #813954
monochromatic
#132C17 #26572C #398142 #4CAB58 #73C17D

Accessibility & contrast

On white

4.78
#398142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#398142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398142
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398142#FFFFFF#000000##FFFFFF
##3981421.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763D
Deuteranopia (green-blind)
#797046
Tritanopia (blue-blind)
#2C7E72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398142;
/* rgb */ color: rgb(57, 129, 66);
/* oklch */ color: oklch(54.1% 0.120 146.2);
Tailwind
colors: {
  custom: {
    50: '#76a677',
    500: '#398142',
    950: '#000000',
  },
}
SCSS
$custom: #398142;
$custom-light: #76a677;
$custom-dark: #000000;
JSON
{
  "hex": "#398142",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 127.5,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.11981,
    "h": 146.2
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#398142
secondary
#AA6BA2
accent
#59C0CF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #398142

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

Preview Lab → · Contrast checker → · Palette generator →

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