#398328#398328

#398328 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.146 H 140.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#398328
RGBrgb(57, 131, 40)
HSLhsl(109, 53%, 34%)
HSVhsv(109, 69%, 51%)
CMYKcmyk(56.5%, 0%, 69.5%, 48.6%)
CIE-LABlab(48.58, -40.86, 40.69)
CIE-LCHlch(48.58, 57.66, 135.12°)
OKLaboklab(54.31% -0.112 0.0934)
OKLCHoklch(54.31% 0.146 140.2)
XYZxyz(10.1862, 17.2548, 4.8008)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398328 #722883
analogous
#668328 #398328 #288344
triadic
#398328 #283983 #832839
tetradic
#398328 #286683 #722883 #834428
square
#398328 #286683 #722883 #834428
split-complementary
#398328 #442883 #832866
monochromatic
#10250B #25541A #398328 #4DB236 #6FCC59

Accessibility & contrast

On white

4.72
#398328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#398328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398328
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398328#FFFFFF#000000##FFFFFF
##3983281.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771B
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#317F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398328;
/* rgb */ color: rgb(57, 131, 40);
/* oklch */ color: oklch(54.3% 0.146 140.2);
Tailwind
colors: {
  custom: {
    50: '#77a867',
    500: '#398328',
    950: '#000000',
  },
}
SCSS
$custom: #398328;
$custom-light: #77a867;
$custom-dark: #000000;
JSON
{
  "hex": "#398328",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 108.791,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.14584,
    "h": 140.2
  },
  "luminance": 0.17256
}

Semantic roles & 50–950 ramp

primary
#398328
secondary
#A055B1
accent
#4BDDC1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #398328

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

Preview Lab → · Contrast checker → · Palette generator →

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