#3F7C15#3F7C15

#3F7C15 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.5% C 0.146 H 136.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3F7C15
RGBrgb(63, 124, 21)
HSLhsl(96, 71%, 28%)
HSVhsv(96, 83%, 49%)
CMYKcmyk(49.2%, 0%, 83.1%, 51.4%)
CIE-LABlab(46.35, -37.57, 45.70)
CIE-LCHlch(46.35, 59.16, 129.42°)
OKLaboklab(52.5% -0.1048 0.101)
OKLCHoklch(52.5% 0.146 136.1)
XYZxyz(9.3927, 15.5256, 3.2111)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7C15 #52157C
analogous
#727C15 #3F7C15 #157C1E
triadic
#3F7C15 #153F7C #7C153F
tetradic
#3F7C15 #15727C #52157C #7C1E15
square
#3F7C15 #15727C #52157C #7C1E15
split-complementary
#3F7C15 #1E157C #7C1572
monochromatic
#0D1A04 #24480C #3F7C15 #5AB01E #76DC30

Accessibility & contrast

On white

5.12
#3F7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3F7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7C15
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7C15#FFFFFF#000000##FFFFFF
##3F7C151.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#3C7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f7c15;
/* rgb */ color: rgb(63, 124, 21);
/* oklch */ color: oklch(52.5% 0.146 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ba25c',
    500: '#3f7c15',
    950: '#000000',
  },
}
SCSS
$custom: #3f7c15;
$custom-light: #7ba25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7c15",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 95.534,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.14555,
    "h": 136.1
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#3F7C15
secondary
#813CB1
accent
#3AEEA4
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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