#3F8822#3F8822

#3F8822 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.153 H 138.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3F8822
RGBrgb(63, 136, 34)
HSLhsl(103, 60%, 33%)
HSVhsv(103, 75%, 53%)
CMYKcmyk(53.7%, 0%, 75%, 46.7%)
CIE-LABlab(50.43, -41.62, 45.12)
CIE-LCHlch(50.43, 61.39, 132.69°)
OKLaboklab(55.88% -0.1149 0.1018)
OKLCHoklch(55.88% 0.153 138.5)
XYZxyz(11.1424, 18.7797, 4.5508)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8822 #6B2288
analogous
#728822 #3F8822 #228838
triadic
#3F8822 #223F88 #88223F
tetradic
#3F8822 #227288 #6B2288 #883822
square
#3F8822 #227288 #6B2288 #883822
split-complementary
#3F8822 #382288 #882272
monochromatic
#12260A #285716 #3F8822 #56B92E #76D351

Accessibility & contrast

On white

4.42
#3F8822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#3F8822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8822
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8822#FFFFFF#000000##000000
##3F88221.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#398374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3f8822;
/* rgb */ color: rgb(63, 136, 34);
/* oklch */ color: oklch(55.9% 0.153 138.5);
Tailwind
colors: {
  custom: {
    50: '#7cab64',
    500: '#3f8822',
    950: '#000000',
  },
}
SCSS
$custom: #3f8822;
$custom-light: #7cab64;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8822",
  "rgb": {
    "r": 63,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 102.941,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.15348,
    "h": 138.5
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#3F8822
secondary
#994FB7
accent
#45E3B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8822

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

Preview Lab → · Contrast checker → · Palette generator →

#3F8822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva