#398258#398258

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

Color values

HEX#398258
RGBrgb(57, 130, 88)
HSLhsl(145, 39%, 37%)
HSVhsv(145, 56%, 51%)
CMYKcmyk(56.2%, 0%, 32.3%, 49%)
CIE-LABlab(48.93, -33.08, 16.03)
CIE-LCHlch(48.93, 36.76, 154.15°)
OKLaboklab(54.82% -0.0902 0.0405)
OKLCHoklch(54.82% 0.099 155.8)
XYZxyz(11.4305, 17.5387, 12.0136)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398258 #823963
analogous
#3F8239 #398258 #39827D
triadic
#398258 #583982 #825839
tetradic
#398258 #393F82 #823963 #827D39
square
#398258 #393F82 #823963 #827D39
split-complementary
#398258 #7D3982 #82393F
monochromatic
#142D1E #26573B #398258 #4CAD75 #74C295

Accessibility & contrast

On white

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

On black

4.51
#398258 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##398258#FFFFFF#000000##FFFFFF
##3982581.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398258;
/* rgb */ color: rgb(57, 130, 88);
/* oklch */ color: oklch(54.8% 0.099 155.8);
Tailwind
colors: {
  custom: {
    50: '#76a787',
    500: '#398258',
    950: '#000000',
  },
}
SCSS
$custom: #398258;
$custom-light: #76a787;
$custom-dark: #000000;
JSON
{
  "hex": "#398258",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 88
  },
  "hsl": {
    "h": 145.479,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.09888,
    "h": 155.8
  },
  "luminance": 0.1754
}

Semantic roles & 50–950 ramp

primary
#398258
secondary
#AB6C90
accent
#599DCF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#090F0B
muted
#7B7F7C

Preview Lab

Preview with #398258

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

Preview Lab → · Contrast checker → · Palette generator →

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