#398E22#398E22

#398E22 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.164 H 139.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#398E22
RGBrgb(57, 142, 34)
HSLhsl(107, 61%, 35%)
HSVhsv(107, 76%, 56%)
CMYKcmyk(59.9%, 0%, 76.1%, 44.3%)
CIE-LABlab(52.21, -45.64, 46.83)
CIE-LCHlch(52.21, 65.40, 134.26°)
OKLaboklab(57.29% -0.1253 0.1054)
OKLCHoklch(57.29% 0.164 139.9)
XYZxyz(11.6486, 20.3303, 4.8234)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E22 #77228E
analogous
#6F8E22 #398E22 #228E41
triadic
#398E22 #22398E #8E2239
tetradic
#398E22 #226F8E #77228E #8E4122
square
#398E22 #226F8E #77228E #8E4122
split-complementary
#398E22 #41228E #8E226F
monochromatic
#112B0A #255D16 #398E22 #4DBF2E #70D654

Accessibility & contrast

On white

4.15
#398E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#398E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E22
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E22#FFFFFF#000000##000000
##398E221.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#877A2D
Tritanopia (blue-blind)
#2E8979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e22;
/* rgb */ color: rgb(57, 142, 34);
/* oklch */ color: oklch(57.3% 0.164 139.9);
Tailwind
colors: {
  custom: {
    50: '#7ab065',
    500: '#398e22',
    950: '#000000',
  },
}
SCSS
$custom: #398e22;
$custom-light: #7ab065;
$custom-dark: #000000;
JSON
{
  "hex": "#398e22",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 107.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.16377,
    "h": 139.9
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#398E22
secondary
#A452BA
accent
#43E4C2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E22

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

Preview Lab → · Contrast checker → · Palette generator →

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