#3F7F15#3F7F15

#3F7F15 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.3% C 0.149 H 136.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3F7F15
RGBrgb(63, 127, 21)
HSLhsl(96, 72%, 29%)
HSVhsv(96, 83%, 50%)
CMYKcmyk(50.4%, 0%, 83.5%, 50.2%)
CIE-LABlab(47.35, -38.81, 46.63)
CIE-LCHlch(47.35, 60.67, 129.77°)
OKLaboklab(53.33% -0.1081 0.103)
OKLCHoklch(53.33% 0.149 136.4)
XYZxyz(9.7744, 16.2890, 3.3384)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7F15 #55157F
analogous
#747F15 #3F7F15 #157F20
triadic
#3F7F15 #153F7F #7F153F
tetradic
#3F7F15 #15747F #55157F #7F2015
square
#3F7F15 #15747F #55157F #7F2015
split-complementary
#3F7F15 #20157F #7F1574
monochromatic
#0D1A04 #254A0C #3F7F15 #59B41E #75DD31

Accessibility & contrast

On white

4.93
#3F7F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3F7F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7F15
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7F15#FFFFFF#000000##FFFFFF
##3F7F151.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#3C7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3f7f15;
/* rgb */ color: rgb(63, 127, 21);
/* oklch */ color: oklch(53.3% 0.149 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ba55d',
    500: '#3f7f15',
    950: '#000000',
  },
}
SCSS
$custom: #3f7f15;
$custom-light: #7ba55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7f15",
  "rgb": {
    "r": 63,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 96.226,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.14931,
    "h": 136.4
  },
  "luminance": 0.1629
}

Semantic roles & 50–950 ramp

primary
#3F7F15
secondary
#843CB4
accent
#39EEA7
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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