#398422#398422

#398422 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.151 H 139.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#398422
RGBrgb(57, 132, 34)
HSLhsl(106, 59%, 33%)
HSVhsv(106, 74%, 52%)
CMYKcmyk(56.8%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.87, -41.79, 43.47)
CIE-LCHlch(48.87, 60.30, 133.87°)
OKLaboklab(54.53% -0.1149 0.0984)
OKLCHoklch(54.53% 0.151 139.4)
XYZxyz(10.2269, 17.4870, 4.3495)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398422 #6D2284
analogous
#6A8422 #398422 #22843C
triadic
#398422 #223984 #842239
tetradic
#398422 #226A84 #6D2284 #843C22
square
#398422 #226A84 #6D2284 #843C22
split-complementary
#398422 #3C2284 #84226A
monochromatic
#0F2309 #245315 #398422 #4EB52F #6DD24F

Accessibility & contrast

On white

4.67
#398422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#398422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398422
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398422#FFFFFF#000000##FFFFFF
##3984221.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#317F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398422;
/* rgb */ color: rgb(57, 132, 34);
/* oklch */ color: oklch(54.5% 0.151 139.4);
Tailwind
colors: {
  custom: {
    50: '#78a864',
    500: '#398422',
    950: '#000000',
  },
}
SCSS
$custom: #398422;
$custom-light: #78a864;
$custom-dark: #000000;
JSON
{
  "hex": "#398422",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 105.918,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54534,
    "c": 0.1513,
    "h": 139.4
  },
  "luminance": 0.17488
}

Semantic roles & 50–950 ramp

primary
#398422
secondary
#9D4DB5
accent
#46E2BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398422

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

Preview Lab → · Contrast checker → · Palette generator →

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