#398221#398221

#398221 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.149 H 139.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#398221
RGBrgb(57, 130, 33)
HSLhsl(105, 60%, 32%)
HSVhsv(105, 75%, 51%)
CMYKcmyk(56.2%, 0%, 74.6%, 49%)
CIE-LABlab(48.19, -41.08, 43.18)
CIE-LCHlch(48.19, 59.59, 133.57°)
OKLaboklab(53.97% -0.1131 0.0976)
OKLCHoklch(53.97% 0.149 139.2)
XYZxyz(9.9441, 16.9441, 4.1851)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398221 #6A2182
analogous
#6A8221 #398221 #21823A
triadic
#398221 #213982 #822139
tetradic
#398221 #216A82 #6A2182 #823A21
square
#398221 #216A82 #6A2182 #823A21
split-complementary
#398221 #3A2182 #82216A
monochromatic
#0E2008 #245115 #398221 #4EB32D #6DD24C

Accessibility & contrast

On white

4.78
#398221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#398221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398221
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398221#FFFFFF#000000##FFFFFF
##3982211.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867610
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#327D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398221;
/* rgb */ color: rgb(57, 130, 33);
/* oklch */ color: oklch(54.0% 0.149 139.2);
Tailwind
colors: {
  custom: {
    50: '#78a763',
    500: '#398221',
    950: '#000000',
  },
}
SCSS
$custom: #398221;
$custom-light: #78a763;
$custom-dark: #000000;
JSON
{
  "hex": "#398221",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 105.155,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.14939,
    "h": 139.2
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#398221
secondary
#9A4AB4
accent
#45E3BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398221

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

Preview Lab → · Contrast checker → · Palette generator →

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