#398342#398342

#398342 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.7% C 0.123 H 146.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#398342
RGBrgb(57, 131, 66)
HSLhsl(127, 39%, 37%)
HSVhsv(127, 56%, 51%)
CMYKcmyk(56.5%, 0%, 49.6%, 48.6%)
CIE-LABlab(48.88, -37.57, 28.23)
CIE-LCHlch(48.88, 46.99, 143.08°)
OKLaboklab(54.65% -0.1018 0.0686)
OKLCHoklch(54.65% 0.123 146)
XYZxyz(10.7864, 17.4949, 7.9616)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398342 #83397A
analogous
#558339 #398342 #398367
triadic
#398342 #423983 #834239
tetradic
#398342 #395583 #83397A #836739
square
#398342 #395583 #83397A #836739
split-complementary
#398342 #673983 #833955
monochromatic
#142E17 #26582D #398342 #4CAE57 #74C27D

Accessibility & contrast

On white

4.67
#398342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#398342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398342
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398342#FFFFFF#000000##FFFFFF
##3983421.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783D
Deuteranopia (green-blind)
#7B7146
Tritanopia (blue-blind)
#2B8074
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398342;
/* rgb */ color: rgb(57, 131, 66);
/* oklch */ color: oklch(54.7% 0.123 146.0);
Tailwind
colors: {
  custom: {
    50: '#76a877',
    500: '#398342',
    950: '#000000',
  },
}
SCSS
$custom: #398342;
$custom-light: #76a877;
$custom-dark: #000000;
JSON
{
  "hex": "#398342",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 127.297,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.12278,
    "h": 146
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#398342
secondary
#AC6CA4
accent
#59C1CF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #398342

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

Preview Lab → · Contrast checker → · Palette generator →

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