#3F821C#3F821C

#3F821C is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.2% C 0.149 H 137.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3F821C
RGBrgb(63, 130, 28)
HSLhsl(99, 65%, 31%)
HSVhsv(99, 78%, 51%)
CMYKcmyk(51.5%, 0%, 78.5%, 49%)
CIE-LABlab(48.39, -39.62, 45.32)
CIE-LCHlch(48.39, 60.20, 131.16°)
OKLaboklab(54.19% -0.1099 0.1013)
OKLCHoklch(54.19% 0.149 137.3)
XYZxyz(10.2418, 17.1051, 3.8603)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F821C #5F1C82
analogous
#72821C #3F821C #1C822C
triadic
#3F821C #1C3F82 #821C3F
tetradic
#3F821C #1C7282 #5F1C82 #822C1C
square
#3F821C #1C7282 #5F1C82 #822C1C
split-complementary
#3F821C #2C1C82 #821C72
monochromatic
#0E1D06 #275011 #3F821C #57B427 #75D642

Accessibility & contrast

On white

4.75
#3F821C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3F821C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F821C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F821C#FFFFFF#000000##FFFFFF
##3F821C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#3B7D6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f821c;
/* rgb */ color: rgb(63, 130, 28);
/* oklch */ color: oklch(54.2% 0.149 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ba760',
    500: '#3f821c',
    950: '#000000',
  },
}
SCSS
$custom: #3f821c;
$custom-light: #7ba760;
$custom-dark: #000000;
JSON
{
  "hex": "#3f821c",
  "rgb": {
    "r": 63,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 99.412,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54194,
    "c": 0.14945,
    "h": 137.3
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#3F821C
secondary
#8F44B5
accent
#40E8AE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F821C

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

Preview Lab → · Contrast checker → · Palette generator →

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