#398145#398145

#398145 is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.2% C 0.117 H 147.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#398145
RGBrgb(57, 129, 69)
HSLhsl(130, 39%, 36%)
HSVhsv(130, 56%, 51%)
CMYKcmyk(55.8%, 0%, 46.5%, 49.4%)
CIE-LABlab(48.26, -36.22, 25.82)
CIE-LCHlch(48.26, 44.48, 144.52°)
OKLaboklab(54.16% -0.0981 0.0633)
OKLCHoklch(54.16% 0.117 147.2)
XYZxyz(10.6111, 16.9991, 8.3511)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398145 #813975
analogous
#518139 #398145 #398169
triadic
#398145 #453981 #814539
tetradic
#398145 #395181 #813975 #816939
square
#398145 #395181 #813975 #816939
split-complementary
#398145 #693981 #813951
monochromatic
#132C18 #26572E #398145 #4CAB5C #73C180

Accessibility & contrast

On white

4.77
#398145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#398145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398145
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398145#FFFFFF#000000##FFFFFF
##3981451.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837740
Deuteranopia (green-blind)
#797049
Tritanopia (blue-blind)
#2B7E73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398145;
/* rgb */ color: rgb(57, 129, 69);
/* oklch */ color: oklch(54.2% 0.117 147.2);
Tailwind
colors: {
  custom: {
    50: '#76a679',
    500: '#398145',
    950: '#000000',
  },
}
SCSS
$custom: #398145;
$custom-light: #76a679;
$custom-dark: #000000;
JSON
{
  "hex": "#398145",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 130,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.11677,
    "h": 147.2
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#398145
secondary
#AA6BA0
accent
#59BBCF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #398145

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

Preview Lab → · Contrast checker → · Palette generator →

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