#398248#398248

#398248 is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.5% C 0.115 H 148.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#398248
RGBrgb(57, 130, 72)
HSLhsl(132, 39%, 37%)
HSVhsv(132, 56%, 51%)
CMYKcmyk(56.2%, 0%, 44.6%, 49%)
CIE-LABlab(48.64, -36.15, 24.65)
CIE-LCHlch(48.64, 43.75, 145.70°)
OKLaboklab(54.49% -0.0979 0.0607)
OKLCHoklch(54.49% 0.115 148.2)
XYZxyz(10.8390, 17.3021, 8.8981)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398248 #823973
analogous
#4F8239 #398248 #39826D
triadic
#398248 #483982 #824839
tetradic
#398248 #394F82 #823973 #826D39
square
#398248 #394F82 #823973 #826D39
split-complementary
#398248 #6D3982 #82394F
monochromatic
#142D19 #265730 #398248 #4CAD60 #74C284

Accessibility & contrast

On white

4.71
#398248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#398248 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398248
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398248#FFFFFF#000000##FFFFFF
##3982481.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837844
Deuteranopia (green-blind)
#79714C
Tritanopia (blue-blind)
#298074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398248;
/* rgb */ color: rgb(57, 130, 72);
/* oklch */ color: oklch(54.5% 0.115 148.2);
Tailwind
colors: {
  custom: {
    50: '#76a77c',
    500: '#398248',
    950: '#000000',
  },
}
SCSS
$custom: #398248;
$custom-light: #76a77c;
$custom-dark: #000000;
JSON
{
  "hex": "#398248",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 72
  },
  "hsl": {
    "h": 132.329,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.11521,
    "h": 148.2
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#398248
secondary
#AB6C9E
accent
#59B7CF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #398248

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

Preview Lab → · Contrast checker → · Palette generator →

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