#3F7D15#3F7D15

#3F7D15 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.8% C 0.147 H 136.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3F7D15
RGBrgb(63, 125, 21)
HSLhsl(96, 71%, 29%)
HSVhsv(96, 83%, 49%)
CMYKcmyk(49.6%, 0%, 83.2%, 51%)
CIE-LABlab(46.68, -37.99, 46.01)
CIE-LCHlch(46.68, 59.66, 129.54°)
OKLaboklab(52.77% -0.1059 0.1017)
OKLCHoklch(52.77% 0.147 136.2)
XYZxyz(9.5186, 15.7775, 3.2531)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D15 #53157D
analogous
#737D15 #3F7D15 #157D1F
triadic
#3F7D15 #153F7D #7D153F
tetradic
#3F7D15 #15737D #53157D #7D1F15
square
#3F7D15 #15737D #53157D #7D1F15
split-complementary
#3F7D15 #1F157D #7D1573
monochromatic
#0D1A04 #25490C #3F7D15 #59B11E #76DC30

Accessibility & contrast

On white

5.05
#3F7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3F7D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7D15
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7D15#FFFFFF#000000##FFFFFF
##3F7D151.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#3C786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7d15;
/* rgb */ color: rgb(63, 125, 21);
/* oklch */ color: oklch(52.8% 0.147 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ba35d',
    500: '#3f7d15',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d15;
$custom-light: #7ba35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d15",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 95.769,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.14681,
    "h": 136.2
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#3F7D15
secondary
#823CB2
accent
#3AEEA5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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