#398831#398831

#398831 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.8% C 0.145 H 141.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#398831
RGBrgb(57, 136, 49)
HSLhsl(114, 47%, 36%)
HSVhsv(114, 64%, 53%)
CMYKcmyk(58.1%, 0%, 64%, 46.7%)
CIE-LABlab(50.33, -41.92, 38.55)
CIE-LCHlch(50.33, 56.95, 137.40°)
OKLaboklab(55.78% -0.1143 0.0899)
OKLCHoklch(55.78% 0.145 141.8)
XYZxyz(11.0453, 18.6990, 5.9323)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398831 #803188
analogous
#658831 #398831 #318855
triadic
#398831 #313988 #883139
tetradic
#398831 #316588 #803188 #885531
square
#398831 #316588 #803188 #885531
split-complementary
#398831 #553188 #883165
monochromatic
#132E11 #265B21 #398831 #4CB541 #73C96A

Accessibility & contrast

On white

4.43
#398831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#398831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398831
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398831#FFFFFF#000000##000000
##3988311.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C27
Deuteranopia (green-blind)
#817538
Tritanopia (blue-blind)
#2E8476
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398831;
/* rgb */ color: rgb(57, 136, 49);
/* oklch */ color: oklch(55.8% 0.145 141.8);
Tailwind
colors: {
  custom: {
    50: '#78ab6d',
    500: '#398831',
    950: '#000000',
  },
}
SCSS
$custom: #398831;
$custom-light: #78ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#398831",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 49
  },
  "hsl": {
    "h": 114.483,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55783,
    "c": 0.14545,
    "h": 141.8
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#398831
secondary
#AA64B1
accent
#51D7CA
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #398831

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

Preview Lab → · Contrast checker → · Palette generator →

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