#3F8520#3F8520

#3F8520 is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.0% C 0.151 H 138.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3F8520
RGBrgb(63, 133, 32)
HSLhsl(102, 61%, 32%)
HSVhsv(102, 76%, 52%)
CMYKcmyk(52.6%, 0%, 75.9%, 47.8%)
CIE-LABlab(49.42, -40.56, 44.87)
CIE-LCHlch(49.42, 60.49, 132.11°)
OKLaboklab(55.05% -0.1121 0.101)
OKLCHoklch(55.05% 0.151 138)
XYZxyz(10.6978, 17.9353, 4.2644)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8520 #662085
analogous
#728520 #3F8520 #208533
triadic
#3F8520 #203F85 #85203F
tetradic
#3F8520 #207285 #662085 #853320
square
#3F8520 #207285 #662085 #853320
split-complementary
#3F8520 #332085 #852072
monochromatic
#102208 #285414 #3F8520 #56B62C #75D44C

Accessibility & contrast

On white

4.58
#3F8520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#3F8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8520
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8520#FFFFFF#000000##000000
##3F85201.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#3A8072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f8520;
/* rgb */ color: rgb(63, 133, 32);
/* oklch */ color: oklch(55.0% 0.151 138.0);
Tailwind
colors: {
  custom: {
    50: '#7ca963',
    500: '#3f8520',
    950: '#000000',
  },
}
SCSS
$custom: #3f8520;
$custom-light: #7ca963;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8520",
  "rgb": {
    "r": 63,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 101.584,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.1509,
    "h": 138
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#3F8520
secondary
#954AB7
accent
#43E4B3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8520

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

Preview Lab → · Contrast checker → · Palette generator →

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