#398922#398922

#398922 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.158 H 139.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#398922
RGBrgb(57, 137, 34)
HSLhsl(107, 60%, 34%)
HSVhsv(107, 75%, 54%)
CMYKcmyk(58.4%, 0%, 75.2%, 46.3%)
CIE-LABlab(50.54, -43.74, 45.17)
CIE-LCHlch(50.54, 62.87, 134.08°)
OKLaboklab(55.92% -0.1202 0.102)
OKLCHoklch(55.92% 0.158 139.7)
XYZxyz(10.9213, 18.8757, 4.5809)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398922 #722289
analogous
#6C8922 #398922 #22893E
triadic
#398922 #223989 #892239
tetradic
#398922 #226C89 #722289 #893E22
square
#398922 #226C89 #722289 #893E22
split-complementary
#398922 #3E2289 #89226C
monochromatic
#10270A #255816 #398922 #4DBA2E #6FD451

Accessibility & contrast

On white

4.40
#398922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#398922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398922
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398922#FFFFFF#000000##000000
##3989221.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#308475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398922;
/* rgb */ color: rgb(57, 137, 34);
/* oklch */ color: oklch(55.9% 0.158 139.7);
Tailwind
colors: {
  custom: {
    50: '#79ac64',
    500: '#398922',
    950: '#000000',
  },
}
SCSS
$custom: #398922;
$custom-light: #79ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#398922",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 106.602,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.1576,
    "h": 139.7
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#398922
secondary
#A04FB8
accent
#44E3C0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398922

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

Preview Lab → · Contrast checker → · Palette generator →

#398922 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva