#398321#398321

#398321 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.151 H 139.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#398321
RGBrgb(57, 131, 33)
HSLhsl(105, 60%, 32%)
HSVhsv(105, 75%, 51%)
CMYKcmyk(56.5%, 0%, 74.8%, 48.6%)
CIE-LABlab(48.53, -41.47, 43.52)
CIE-LCHlch(48.53, 60.11, 133.62°)
OKLaboklab(54.25% -0.1141 0.0984)
OKLCHoklch(54.25% 0.151 139.2)
XYZxyz(10.0777, 17.2114, 4.2296)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398321 #6B2183
analogous
#6A8321 #398321 #21833A
triadic
#398321 #213983 #832139
tetradic
#398321 #216A83 #6B2183 #833A21
square
#398321 #216A83 #6B2183 #833A21
split-complementary
#398321 #3A2183 #83216A
monochromatic
#0E2108 #245215 #398321 #4EB42D #6DD24C

Accessibility & contrast

On white

4.73
#398321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#398321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398321
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398321#FFFFFF#000000##FFFFFF
##3983211.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#317E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398321;
/* rgb */ color: rgb(57, 131, 33);
/* oklch */ color: oklch(54.2% 0.151 139.2);
Tailwind
colors: {
  custom: {
    50: '#78a863',
    500: '#398321',
    950: '#000000',
  },
}
SCSS
$custom: #398321;
$custom-light: #78a863;
$custom-dark: #000000;
JSON
{
  "hex": "#398321",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 105.306,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54249,
    "c": 0.15067,
    "h": 139.2
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#398321
secondary
#9B4BB5
accent
#45E3BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398321

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

Preview Lab → · Contrast checker → · Palette generator →

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