#3F7115#3F7115

#3F7115 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.5% C 0.131 H 134.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3F7115
RGBrgb(63, 113, 21)
HSLhsl(93, 69%, 26%)
HSVhsv(93, 81%, 44%)
CMYKcmyk(44.2%, 0%, 81.4%, 55.7%)
CIE-LABlab(42.64, -32.83, 42.24)
CIE-LCHlch(42.64, 53.50, 127.86°)
OKLaboklab(49.46% -0.0921 0.0938)
OKLCHoklch(49.46% 0.131 134.5)
XYZxyz(8.0902, 12.9207, 2.7770)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7115 #471571
analogous
#6D7115 #3F7115 #157119
triadic
#3F7115 #153F71 #71153F
tetradic
#3F7115 #156D71 #471571 #711915
square
#3F7115 #156D71 #471571 #711915
split-complementary
#3F7115 #191571 #71156D
monochromatic
#0E1A05 #223D0B #3F7115 #5CA51F #79D729

Accessibility & contrast

On white

5.86
#3F7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3F7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7115
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7115#FFFFFF#000000##FFFFFF
##3F71151.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#3E6C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7115;
/* rgb */ color: rgb(63, 113, 21);
/* oklch */ color: oklch(49.5% 0.131 134.5);
Tailwind
colors: {
  custom: {
    50: '#799a5b',
    500: '#3f7115',
    950: '#000000',
  },
}
SCSS
$custom: #3f7115;
$custom-light: #799a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7115",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 92.609,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49459,
    "c": 0.13139,
    "h": 134.5
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#3F7115
secondary
#763BA7
accent
#3CEB9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F7115

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

Preview Lab → · Contrast checker → · Palette generator →

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