#398421#398421

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

Color values

HEX#398421
RGBrgb(57, 132, 33)
HSLhsl(105, 60%, 32%)
HSVhsv(105, 75%, 52%)
CMYKcmyk(56.8%, 0%, 75%, 48.2%)
CIE-LABlab(48.86, -41.87, 43.86)
CIE-LCHlch(48.86, 60.63, 133.67°)
OKLaboklab(54.53% -0.1152 0.0991)
OKLCHoklch(54.53% 0.152 139.3)
XYZxyz(10.2127, 17.4813, 4.2746)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398421 #6C2184
analogous
#6A8421 #398421 #21843B
triadic
#398421 #213984 #842139
tetradic
#398421 #216A84 #6C2184 #843B21
square
#398421 #216A84 #6C2184 #843B21
split-complementary
#398421 #3B2184 #84216A
monochromatic
#0F2209 #245315 #398421 #4EB52D #6DD24D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398421#FFFFFF#000000##FFFFFF
##3984211.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)
#88780F
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#317F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398421;
/* rgb */ color: rgb(57, 132, 33);
/* oklch */ color: oklch(54.5% 0.152 139.3);
Tailwind
colors: {
  custom: {
    50: '#78a863',
    500: '#398421',
    950: '#000000',
  },
}
SCSS
$custom: #398421;
$custom-light: #78a863;
$custom-dark: #000000;
JSON
{
  "hex": "#398421",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 33
  },
  "hsl": {
    "h": 105.455,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.15193,
    "h": 139.3
  },
  "luminance": 0.17482
}

Semantic roles & 50–950 ramp

primary
#398421
secondary
#9C4BB6
accent
#45E3BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398421

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

Preview Lab → · Contrast checker → · Palette generator →

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