#3F7121#3F7121

#3F7121 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.124 H 135.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3F7121
RGBrgb(63, 113, 33)
HSLhsl(98, 55%, 29%)
HSVhsv(98, 71%, 44%)
CMYKcmyk(44.2%, 0%, 70.8%, 55.7%)
CIE-LABlab(42.73, -31.94, 37.60)
CIE-LCHlch(42.73, 49.34, 130.34°)
OKLaboklab(49.55% -0.0887 0.0859)
OKLCHoklch(49.55% 0.124 135.9)
XYZxyz(8.2293, 12.9764, 3.5096)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7121 #532171
analogous
#677121 #3F7121 #21712B
triadic
#3F7121 #213F71 #71213F
tetradic
#3F7121 #216771 #532171 #712B21
square
#3F7121 #216771 #532171 #712B21
split-complementary
#3F7121 #2B2171 #712167
monochromatic
#0D1807 #254213 #3F7121 #59A02F #76C844

Accessibility & contrast

On white

5.84
#3F7121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3F7121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7121
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7121#FFFFFF#000000##FFFFFF
##3F71211.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756816
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#3D6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7121;
/* rgb */ color: rgb(63, 113, 33);
/* oklch */ color: oklch(49.6% 0.124 135.9);
Tailwind
colors: {
  custom: {
    50: '#799a61',
    500: '#3f7121',
    950: '#000000',
  },
}
SCSS
$custom: #3f7121;
$custom-light: #799a61;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7121",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 97.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49554,
    "c": 0.12351,
    "h": 135.9
  },
  "luminance": 0.12977
}

Semantic roles & 50–950 ramp

primary
#3F7121
secondary
#8249A5
accent
#4ADEA6
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3F7121

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

Preview Lab → · Contrast checker → · Palette generator →

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