#398D22#398D22

#398D22 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.163 H 139.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#398D22
RGBrgb(57, 141, 34)
HSLhsl(107, 61%, 34%)
HSVhsv(107, 76%, 55%)
CMYKcmyk(59.6%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.88, -45.27, 46.50)
CIE-LCHlch(51.88, 64.90, 134.23°)
OKLaboklab(57.02% -0.1243 0.1047)
OKLCHoklch(57.02% 0.163 139.9)
XYZxyz(11.5004, 20.0341, 4.7740)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D22 #76228D
analogous
#6F8D22 #398D22 #228D41
triadic
#398D22 #22398D #8D2239
tetradic
#398D22 #226F8D #76228D #8D4122
square
#398D22 #226F8D #76228D #8D4122
split-complementary
#398D22 #41228D #8D226F
monochromatic
#112A0A #255C16 #398D22 #4DBE2E #70D654

Accessibility & contrast

On white

4.19
#398D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#398D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D22
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D22#FFFFFF#000000##000000
##398D221.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#87792D
Tritanopia (blue-blind)
#2F8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d22;
/* rgb */ color: rgb(57, 141, 34);
/* oklch */ color: oklch(57.0% 0.163 139.9);
Tailwind
colors: {
  custom: {
    50: '#7aaf65',
    500: '#398d22',
    950: '#000000',
  },
}
SCSS
$custom: #398d22;
$custom-light: #7aaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#398d22",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 107.103,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.16255,
    "h": 139.9
  },
  "luminance": 0.20035
}

Semantic roles & 50–950 ramp

primary
#398D22
secondary
#A351B9
accent
#44E4C2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D22

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

Preview Lab → · Contrast checker → · Palette generator →

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