#3F7B22#3F7B22

#3F7B22 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.3% C 0.136 H 137.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3F7B22
RGBrgb(63, 123, 34)
HSLhsl(100, 57%, 31%)
HSVhsv(100, 72%, 48%)
CMYKcmyk(48.8%, 0%, 72.4%, 51.8%)
CIE-LABlab(46.09, -36.24, 40.70)
CIE-LCHlch(46.09, 54.50, 131.69°)
OKLaboklab(52.32% -0.1003 0.0925)
OKLCHoklch(52.32% 0.136 137.3)
XYZxyz(9.4213, 15.3375, 3.9771)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7B22 #5E227B
analogous
#6B7B22 #3F7B22 #227B31
triadic
#3F7B22 #223F7B #7B223F
tetradic
#3F7B22 #226B7B #5E227B #7B3122
square
#3F7B22 #226B7B #5E227B #7B3122
split-complementary
#3F7B22 #31227B #7B226B
monochromatic
#0E1B07 #264B15 #3F7B22 #58AB2F #75CD4A

Accessibility & contrast

On white

5.16
#3F7B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3F7B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7B22
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7B22#FFFFFF#000000##FFFFFF
##3F7B221.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#3B7769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3f7b22;
/* rgb */ color: rgb(63, 123, 34);
/* oklch */ color: oklch(52.3% 0.136 137.3);
Tailwind
colors: {
  custom: {
    50: '#7aa263',
    500: '#3f7b22',
    950: '#000000',
  },
}
SCSS
$custom: #3f7b22;
$custom-light: #7aa263;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7b22",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 100.449,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.13649,
    "h": 137.3
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#3F7B22
secondary
#8E4BAE
accent
#48E0AE
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3F7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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