#398C22#398C22

#398C22 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.161 H 139.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#398C22
RGBrgb(57, 140, 34)
HSLhsl(107, 61%, 34%)
HSVhsv(107, 76%, 55%)
CMYKcmyk(59.3%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.54, -44.89, 46.17)
CIE-LCHlch(51.54, 64.39, 134.19°)
OKLaboklab(56.74% -0.1233 0.104)
OKLCHoklch(56.74% 0.161 139.8)
XYZxyz(11.3537, 19.7405, 4.7251)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C22 #75228C
analogous
#6E8C22 #398C22 #228C40
triadic
#398C22 #22398C #8C2239
tetradic
#398C22 #226E8C #75228C #8C4022
square
#398C22 #226E8C #75228C #8C4022
split-complementary
#398C22 #40228C #8C226E
monochromatic
#112A0A #255B16 #398C22 #4DBD2E #6FD553

Accessibility & contrast

On white

4.24
#398C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#398C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C22
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C22#FFFFFF#000000##000000
##398C221.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#2F8778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c22;
/* rgb */ color: rgb(57, 140, 34);
/* oklch */ color: oklch(56.7% 0.161 139.8);
Tailwind
colors: {
  custom: {
    50: '#79ae65',
    500: '#398c22',
    950: '#000000',
  },
}
SCSS
$custom: #398c22;
$custom-light: #79ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#398c22",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 106.981,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56741,
    "c": 0.16131,
    "h": 139.8
  },
  "luminance": 0.19742
}

Semantic roles & 50–950 ramp

primary
#398C22
secondary
#A251B9
accent
#44E4C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398C22

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

Preview Lab → · Contrast checker → · Palette generator →

#398C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva