#398341#398341

#398341 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.6% C 0.124 H 145.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#398341
RGBrgb(57, 131, 65)
HSLhsl(126, 39%, 37%)
HSVhsv(126, 56%, 51%)
CMYKcmyk(56.5%, 0%, 50.4%, 48.6%)
CIE-LABlab(48.86, -37.73, 28.74)
CIE-LCHlch(48.86, 47.43, 142.70°)
OKLaboklab(54.64% -0.1023 0.0697)
OKLCHoklch(54.64% 0.124 145.7)
XYZxyz(10.7571, 17.4832, 7.8077)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398341 #83397B
analogous
#568339 #398341 #398366
triadic
#398341 #413983 #834139
tetradic
#398341 #395683 #83397B #836639
square
#398341 #395683 #83397B #836639
split-complementary
#398341 #663983 #833956
monochromatic
#142E17 #26582C #398341 #4CAE56 #74C27C

Accessibility & contrast

On white

4.67
#398341 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#398341 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398341
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398341#FFFFFF#000000##FFFFFF
##3983411.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783C
Deuteranopia (green-blind)
#7B7146
Tritanopia (blue-blind)
#2B8074
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398341;
/* rgb */ color: rgb(57, 131, 65);
/* oklch */ color: oklch(54.6% 0.124 145.7);
Tailwind
colors: {
  custom: {
    50: '#76a877',
    500: '#398341',
    950: '#000000',
  },
}
SCSS
$custom: #398341;
$custom-light: #76a877;
$custom-dark: #000000;
JSON
{
  "hex": "#398341",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 126.486,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54636,
    "c": 0.12378,
    "h": 145.7
  },
  "luminance": 0.17484
}

Semantic roles & 50–950 ramp

primary
#398341
secondary
#AC6CA5
accent
#59C2CF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #398341

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

Preview Lab → · Contrast checker → · Palette generator →

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