#398222#398222

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

Color values

HEX#398222
RGBrgb(57, 130, 34)
HSLhsl(106, 59%, 32%)
HSVhsv(106, 74%, 51%)
CMYKcmyk(56.2%, 0%, 73.8%, 49%)
CIE-LABlab(48.20, -41.00, 42.79)
CIE-LCHlch(48.20, 59.26, 133.77°)
OKLaboklab(53.98% -0.1128 0.097)
OKLCHoklch(53.98% 0.149 139.3)
XYZxyz(9.9583, 16.9498, 4.2599)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398222 #6B2282
analogous
#698222 #398222 #22823B
triadic
#398222 #223982 #822239
tetradic
#398222 #226982 #6B2282 #823B22
square
#398222 #226982 #6B2282 #823B22
split-complementary
#398222 #3B2282 #822269
monochromatic
#0E2109 #245115 #398222 #4EB32F #6DD14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398222#FFFFFF#000000##FFFFFF
##3982221.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)
#867612
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#327E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398222;
/* rgb */ color: rgb(57, 130, 34);
/* oklch */ color: oklch(54.0% 0.149 139.3);
Tailwind
colors: {
  custom: {
    50: '#78a763',
    500: '#398222',
    950: '#000000',
  },
}
SCSS
$custom: #398222;
$custom-light: #78a763;
$custom-dark: #000000;
JSON
{
  "hex": "#398222",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 105.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5398,
    "c": 0.14874,
    "h": 139.3
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#398222
secondary
#9B4CB4
accent
#46E2BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398222

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

Preview Lab → · Contrast checker → · Palette generator →

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