#398243#398243

#398243 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.4% C 0.120 H 146.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#398243
RGBrgb(57, 130, 67)
HSLhsl(128, 39%, 37%)
HSVhsv(128, 56%, 51%)
CMYKcmyk(56.2%, 0%, 48.5%, 49%)
CIE-LABlab(48.56, -36.98, 27.29)
CIE-LCHlch(48.56, 45.96, 143.58°)
OKLaboklab(54.4% -0.1002 0.0665)
OKLCHoklch(54.4% 0.12 146.4)
XYZxyz(10.6824, 17.2395, 8.0737)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398243 #823978
analogous
#548239 #398243 #398268
triadic
#398243 #433982 #824339
tetradic
#398243 #395482 #823978 #826839
square
#398243 #395482 #823978 #826839
split-complementary
#398243 #683982 #823954
monochromatic
#142D17 #26572D #398243 #4CAD59 #74C27E

Accessibility & contrast

On white

4.72
#398243 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#398243 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398243
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398243#FFFFFF#000000##FFFFFF
##3982431.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773E
Deuteranopia (green-blind)
#7A7147
Tritanopia (blue-blind)
#2B7F73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398243;
/* rgb */ color: rgb(57, 130, 67);
/* oklch */ color: oklch(54.4% 0.120 146.4);
Tailwind
colors: {
  custom: {
    50: '#76a778',
    500: '#398243',
    950: '#000000',
  },
}
SCSS
$custom: #398243;
$custom-light: #76a778;
$custom-dark: #000000;
JSON
{
  "hex": "#398243",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 67
  },
  "hsl": {
    "h": 128.219,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54397,
    "c": 0.1203,
    "h": 146.4
  },
  "luminance": 0.1724
}

Semantic roles & 50–950 ramp

primary
#398243
secondary
#AB6CA2
accent
#59BFCF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #398243

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

Preview Lab → · Contrast checker → · Palette generator →

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