#398B22#398B22

#398B22 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.160 H 139.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#398B22
RGBrgb(57, 139, 34)
HSLhsl(107, 61%, 34%)
HSVhsv(107, 76%, 55%)
CMYKcmyk(59%, 0%, 75.5%, 45.5%)
CIE-LABlab(51.21, -44.50, 45.84)
CIE-LCHlch(51.21, 63.89, 134.16°)
OKLaboklab(56.47% -0.1222 0.1034)
OKLCHoklch(56.47% 0.16 139.8)
XYZxyz(11.2082, 19.4496, 4.6766)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B22 #74228B
analogous
#6E8B22 #398B22 #228B40
triadic
#398B22 #22398B #8B2239
tetradic
#398B22 #226E8B #74228B #8B4022
square
#398B22 #226E8B #74228B #8B4022
split-complementary
#398B22 #40228B #8B226E
monochromatic
#11290A #255A16 #398B22 #4DBC2E #6FD553

Accessibility & contrast

On white

4.29
#398B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#398B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B22
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B22#FFFFFF#000000##000000
##398B221.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#2F8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b22;
/* rgb */ color: rgb(57, 139, 34);
/* oklch */ color: oklch(56.5% 0.160 139.8);
Tailwind
colors: {
  custom: {
    50: '#79ae65',
    500: '#398b22',
    950: '#000000',
  },
}
SCSS
$custom: #398b22;
$custom-light: #79ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#398b22",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 106.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.16008,
    "h": 139.8
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398B22

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

Preview Lab → · Contrast checker → · Palette generator →

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