#398431#398431

#398431 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.7% C 0.140 H 141.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#398431
RGBrgb(57, 132, 49)
HSLhsl(114, 46%, 35%)
HSVhsv(114, 63%, 52%)
CMYKcmyk(56.8%, 0%, 62.9%, 48.2%)
CIE-LABlab(49.00, -40.31, 37.04)
CIE-LCHlch(49.00, 54.75, 137.42°)
OKLaboklab(54.68% -0.11 0.0867)
OKLCHoklch(54.68% 0.14 141.8)
XYZxyz(10.4925, 17.5933, 5.7481)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398431 #7C3184
analogous
#628431 #398431 #318452
triadic
#398431 #313984 #843139
tetradic
#398431 #316284 #7C3184 #845231
square
#398431 #316284 #7C3184 #845231
split-complementary
#398431 #523184 #843162
monochromatic
#122B10 #265720 #398431 #4CB142 #71C768

Accessibility & contrast

On white

4.65
#398431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#398431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398431
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398431#FFFFFF#000000##FFFFFF
##3984311.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#7D7238
Tritanopia (blue-blind)
#2F8072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398431;
/* rgb */ color: rgb(57, 132, 49);
/* oklch */ color: oklch(54.7% 0.140 141.8);
Tailwind
colors: {
  custom: {
    50: '#77a86c',
    500: '#398431',
    950: '#000000',
  },
}
SCSS
$custom: #398431;
$custom-light: #77a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#398431",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 114.217,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.14003,
    "h": 141.8
  },
  "luminance": 0.17594
}

Semantic roles & 50–950 ramp

primary
#398431
secondary
#A762AE
accent
#52D6C9
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #398431

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

Preview Lab → · Contrast checker → · Palette generator →

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