#398257#398257

#398257 is a mid, moderate green. Relative luminance 0.175; OKLCH L 54.8% C 0.100 H 155.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#398257
RGBrgb(57, 130, 87)
HSLhsl(145, 39%, 37%)
HSVhsv(145, 56%, 51%)
CMYKcmyk(56.2%, 0%, 33.1%, 49%)
CIE-LABlab(48.91, -33.29, 16.57)
CIE-LCHlch(48.91, 37.18, 153.53°)
OKLaboklab(54.8% -0.0907 0.0419)
OKLCHoklch(54.8% 0.1 155.2)
XYZxyz(11.3894, 17.5222, 11.7969)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398257 #823964
analogous
#408239 #398257 #39827C
triadic
#398257 #573982 #825739
tetradic
#398257 #394082 #823964 #827C39
square
#398257 #394082 #823964 #827C39
split-complementary
#398257 #7C3982 #823940
monochromatic
#142D1E #26573B #398257 #4CAD73 #74C294

Accessibility & contrast

On white

4.66
#398257 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #398257
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398257#FFFFFF#000000##FFFFFF
##3982571.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827954
Deuteranopia (green-blind)
#77715A
Tritanopia (blue-blind)
#238177
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398257;
/* rgb */ color: rgb(57, 130, 87);
/* oklch */ color: oklch(54.8% 0.100 155.2);
Tailwind
colors: {
  custom: {
    50: '#76a786',
    500: '#398257',
    950: '#000000',
  },
}
SCSS
$custom: #398257;
$custom-light: #76a786;
$custom-dark: #000000;
JSON
{
  "hex": "#398257",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 87
  },
  "hsl": {
    "h": 144.658,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.548,
    "c": 0.09988,
    "h": 155.2
  },
  "luminance": 0.17523
}

Semantic roles & 50–950 ramp

primary
#398257
secondary
#AB6C91
accent
#599ECF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#090F0B
muted
#7B7F7C

Preview Lab

Preview with #398257

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

Preview Lab → · Contrast checker → · Palette generator →

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