#398731#398731

#398731 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.144 H 141.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#398731
RGBrgb(57, 135, 49)
HSLhsl(114, 47%, 36%)
HSVhsv(114, 64%, 53%)
CMYKcmyk(57.8%, 0%, 63.7%, 47.1%)
CIE-LABlab(50.00, -41.52, 38.17)
CIE-LCHlch(50.00, 56.40, 137.41°)
OKLaboklab(55.51% -0.1133 0.0891)
OKLCHoklch(55.51% 0.144 141.8)
XYZxyz(10.9052, 18.4186, 5.8856)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398731 #7F3187
analogous
#648731 #398731 #318754
triadic
#398731 #313987 #873139
tetradic
#398731 #316487 #7F3187 #875431
square
#398731 #316487 #7F3187 #875431
split-complementary
#398731 #543187 #873164
monochromatic
#132D10 #265A21 #398731 #4CB441 #72C96A

Accessibility & contrast

On white

4.48
#398731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#398731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398731
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398731#FFFFFF#000000##000000
##3987311.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B27
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#2E8375
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398731;
/* rgb */ color: rgb(57, 135, 49);
/* oklch */ color: oklch(55.5% 0.144 141.8);
Tailwind
colors: {
  custom: {
    50: '#78ab6d',
    500: '#398731',
    950: '#000000',
  },
}
SCSS
$custom: #398731;
$custom-light: #78ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#398731",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 114.419,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.14411,
    "h": 141.8
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#398731
secondary
#A964B0
accent
#51D6CA
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #398731

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

Preview Lab → · Contrast checker → · Palette generator →

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