#398322#398322

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

Color values

HEX#398322
RGBrgb(57, 131, 34)
HSLhsl(106, 59%, 32%)
HSVhsv(106, 74%, 51%)
CMYKcmyk(56.5%, 0%, 74%, 48.6%)
CIE-LABlab(48.53, -41.39, 43.13)
CIE-LCHlch(48.53, 59.78, 133.82°)
OKLaboklab(54.26% -0.1138 0.0977)
OKLCHoklch(54.26% 0.15 139.4)
XYZxyz(10.0920, 17.2171, 4.3045)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398322 #6C2283
analogous
#6A8322 #398322 #22833B
triadic
#398322 #223983 #832239
tetradic
#398322 #226A83 #6C2283 #833B22
square
#398322 #226A83 #6C2283 #833B22
split-complementary
#398322 #3B2283 #83226A
monochromatic
#0F2209 #245215 #398322 #4EB42F #6DD14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398322#FFFFFF#000000##FFFFFF
##3983221.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)
#877711
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#317E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398322;
/* rgb */ color: rgb(57, 131, 34);
/* oklch */ color: oklch(54.3% 0.150 139.4);
Tailwind
colors: {
  custom: {
    50: '#78a864',
    500: '#398322',
    950: '#000000',
  },
}
SCSS
$custom: #398322;
$custom-light: #78a864;
$custom-dark: #000000;
JSON
{
  "hex": "#398322",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 105.773,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54257,
    "c": 0.15002,
    "h": 139.4
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

primary
#398322
secondary
#9C4CB4
accent
#46E2BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #398322

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

Preview Lab → · Contrast checker → · Palette generator →

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