#398F22#398F22

#398F22 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.165 H 140.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#398F22
RGBrgb(57, 143, 34)
HSLhsl(107, 62%, 35%)
HSVhsv(107, 76%, 56%)
CMYKcmyk(60.1%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.54, -46.02, 47.17)
CIE-LCHlch(52.54, 65.90, 134.30°)
OKLaboklab(57.57% -0.1263 0.1061)
OKLCHoklch(57.57% 0.165 140)
XYZxyz(11.7980, 20.6292, 4.8732)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F22 #78228F
analogous
#708F22 #398F22 #228F41
triadic
#398F22 #22398F #8F2239
tetradic
#398F22 #22708F #78228F #8F4122
square
#398F22 #22708F #78228F #8F4122
split-complementary
#398F22 #41228F #8F2270
monochromatic
#122C0A #255E16 #398F22 #4DC02E #70D755

Accessibility & contrast

On white

4.10
#398F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#398F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F22
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F22#FFFFFF#000000##000000
##398F221.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820B
Deuteranopia (green-blind)
#887B2E
Tritanopia (blue-blind)
#2E8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f22;
/* rgb */ color: rgb(57, 143, 34);
/* oklch */ color: oklch(57.6% 0.165 140.0);
Tailwind
colors: {
  custom: {
    50: '#7ab165',
    500: '#398f22',
    950: '#000000',
  },
}
SCSS
$custom: #398f22;
$custom-light: #7ab165;
$custom-dark: #000000;
JSON
{
  "hex": "#398f22",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 107.339,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.16499,
    "h": 140
  },
  "luminance": 0.2063
}

Semantic roles & 50–950 ramp

primary
#398F22
secondary
#A452BA
accent
#43E5C3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #398F22

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

Preview Lab → · Contrast checker → · Palette generator →

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