#398331#398331

#398331 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.139 H 141.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#398331
RGBrgb(57, 131, 49)
HSLhsl(114, 46%, 35%)
HSVhsv(114, 63%, 51%)
CMYKcmyk(56.5%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.66, -39.91, 36.66)
CIE-LCHlch(48.66, 54.19, 137.43°)
OKLaboklab(54.41% -0.1089 0.0859)
OKLCHoklch(54.41% 0.139 141.7)
XYZxyz(10.3575, 17.3233, 5.7031)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398331 #7B3183
analogous
#628331 #398331 #318352
triadic
#398331 #313983 #833139
tetradic
#398331 #316283 #7B3183 #835231
square
#398331 #316283 #7B3183 #835231
split-complementary
#398331 #523183 #833162
monochromatic
#122A10 #265620 #398331 #4CB042 #71C668

Accessibility & contrast

On white

4.70
#398331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #398331
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398331#FFFFFF#000000##FFFFFF
##3983311.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867828
Deuteranopia (green-blind)
#7D7138
Tritanopia (blue-blind)
#2F7F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398331;
/* rgb */ color: rgb(57, 131, 49);
/* oklch */ color: oklch(54.4% 0.139 141.7);
Tailwind
colors: {
  custom: {
    50: '#77a86c',
    500: '#398331',
    950: '#000000',
  },
}
SCSS
$custom: #398331;
$custom-light: #77a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#398331",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 114.146,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54409,
    "c": 0.13866,
    "h": 141.7
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#398331
secondary
#A662AE
accent
#53D5C8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #398331

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

Preview Lab → · Contrast checker → · Palette generator →

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