#3F7E15#3F7E15

#3F7E15 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.0% C 0.148 H 136.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3F7E15
RGBrgb(63, 126, 21)
HSLhsl(96, 71%, 29%)
HSVhsv(96, 83%, 49%)
CMYKcmyk(50%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.02, -38.40, 46.32)
CIE-LCHlch(47.02, 60.17, 129.66°)
OKLaboklab(53.05% -0.107 0.1023)
OKLCHoklch(53.05% 0.148 136.3)
XYZxyz(9.6458, 16.0320, 3.2955)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7E15 #54157E
analogous
#747E15 #3F7E15 #157E20
triadic
#3F7E15 #153F7E #7E153F
tetradic
#3F7E15 #15747E #54157E #7E2015
square
#3F7E15 #15747E #54157E #7E2015
split-complementary
#3F7E15 #20157E #7E1574
monochromatic
#0D1A04 #254A0C #3F7E15 #59B21E #76DD31

Accessibility & contrast

On white

4.99
#3F7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3F7E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7E15
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7E15#FFFFFF#000000##FFFFFF
##3F7E151.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6E22
Tritanopia (blue-blind)
#3C796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7e15;
/* rgb */ color: rgb(63, 126, 21);
/* oklch */ color: oklch(53.0% 0.148 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ba45d',
    500: '#3f7e15',
    950: '#000000',
  },
}
SCSS
$custom: #3f7e15;
$custom-light: #7ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7e15",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 96,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5305,
    "c": 0.14806,
    "h": 136.3
  },
  "luminance": 0.16033
}

Semantic roles & 50–950 ramp

primary
#3F7E15
secondary
#833CB3
accent
#3AEEA6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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