#398252#398252

#398252 is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.7% C 0.105 H 152.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#398252
RGBrgb(57, 130, 82)
HSLhsl(141, 39%, 37%)
HSVhsv(141, 56%, 51%)
CMYKcmyk(56.2%, 0%, 36.9%, 49%)
CIE-LABlab(48.81, -34.30, 19.29)
CIE-LCHlch(48.81, 39.35, 150.65°)
OKLaboklab(54.69% -0.0931 0.0483)
OKLCHoklch(54.69% 0.105 152.6)
XYZxyz(11.1921, 17.4433, 10.7581)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398252 #823969
analogous
#458239 #398252 #398277
triadic
#398252 #523982 #825239
tetradic
#398252 #394582 #823969 #827739
square
#398252 #394582 #823969 #827739
split-complementary
#398252 #773982 #823945
monochromatic
#142D1C #265737 #398252 #4CAD6D #74C28E

Accessibility & contrast

On white

4.68
#398252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#398252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398252
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398252#FFFFFF#000000##FFFFFF
##3982521.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784F
Deuteranopia (green-blind)
#787155
Tritanopia (blue-blind)
#268076
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398252;
/* rgb */ color: rgb(57, 130, 82);
/* oklch */ color: oklch(54.7% 0.105 152.6);
Tailwind
colors: {
  custom: {
    50: '#76a783',
    500: '#398252',
    950: '#000000',
  },
}
SCSS
$custom: #398252;
$custom-light: #76a783;
$custom-dark: #000000;
JSON
{
  "hex": "#398252",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 140.548,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54688,
    "c": 0.10493,
    "h": 152.6
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#398252
secondary
#AB6C95
accent
#59A7CF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #398252

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

Preview Lab → · Contrast checker → · Palette generator →

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