#398822#398822

#398822 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.156 H 139.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#398822
RGBrgb(57, 136, 34)
HSLhsl(106, 60%, 33%)
HSVhsv(106, 75%, 53%)
CMYKcmyk(58.1%, 0%, 75%, 46.7%)
CIE-LABlab(50.21, -43.35, 44.83)
CIE-LCHlch(50.21, 62.36, 134.04°)
OKLaboklab(55.64% -0.1191 0.1012)
OKLCHoklch(55.64% 0.156 139.6)
XYZxyz(10.7798, 18.5928, 4.5338)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398822 #712288
analogous
#6C8822 #398822 #22883E
triadic
#398822 #223988 #882239
tetradic
#398822 #226C88 #712288 #883E22
square
#398822 #226C88 #712288 #883E22
split-complementary
#398822 #3E2288 #88226C
monochromatic
#10260A #245716 #398822 #4EB92E #6ED351

Accessibility & contrast

On white

4.45
#398822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#398822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398822
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398822#FFFFFF#000000##000000
##3988221.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#308374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398822;
/* rgb */ color: rgb(57, 136, 34);
/* oklch */ color: oklch(55.6% 0.156 139.6);
Tailwind
colors: {
  custom: {
    50: '#79ab64',
    500: '#398822',
    950: '#000000',
  },
}
SCSS
$custom: #398822;
$custom-light: #79ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#398822",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 106.471,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.15635,
    "h": 139.6
  },
  "luminance": 0.18594
}

Semantic roles & 50–950 ramp

primary
#398822
secondary
#A04FB7
accent
#45E3BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398822

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

Preview Lab → · Contrast checker → · Palette generator →

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