#398721#398721

#398721 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.156 H 139.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#398721
RGBrgb(57, 135, 33)
HSLhsl(106, 61%, 33%)
HSVhsv(106, 76%, 53%)
CMYKcmyk(57.8%, 0%, 75.6%, 47.1%)
CIE-LABlab(49.87, -43.04, 44.87)
CIE-LCHlch(49.87, 62.17, 133.81°)
OKLaboklab(55.36% -0.1184 0.1012)
OKLCHoklch(55.36% 0.156 139.5)
XYZxyz(10.6254, 18.3067, 4.4122)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398721 #6F2187
analogous
#6C8721 #398721 #21873C
triadic
#398721 #213987 #872139
tetradic
#398721 #216C87 #6F2187 #873C21
square
#398721 #216C87 #6F2187 #873C21
split-complementary
#398721 #3C2187 #87216C
monochromatic
#0F2509 #245615 #398721 #4EB82D #6ED44F

Accessibility & contrast

On white

4.50
#398721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#398721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398721
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398721#FFFFFF#000000##000000
##3987211.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#308273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398721;
/* rgb */ color: rgb(57, 135, 33);
/* oklch */ color: oklch(55.4% 0.156 139.5);
Tailwind
colors: {
  custom: {
    50: '#79ab64',
    500: '#398721',
    950: '#000000',
  },
}
SCSS
$custom: #398721;
$custom-light: #79ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#398721",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 105.882,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.15572,
    "h": 139.5
  },
  "luminance": 0.18308
}

Semantic roles & 50–950 ramp

primary
#398721
secondary
#9E4DB7
accent
#44E4BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398721

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

Preview Lab → · Contrast checker → · Palette generator →

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