#3F7617#3F7617

#3F7617 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 50.9% C 0.137 H 135.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3F7617
RGBrgb(63, 118, 23)
HSLhsl(95, 67%, 28%)
HSVhsv(95, 81%, 46%)
CMYKcmyk(46.6%, 0%, 80.5%, 53.7%)
CIE-LABlab(44.34, -34.90, 43.16)
CIE-LCHlch(44.34, 55.51, 128.96°)
OKLaboklab(50.85% -0.0975 0.096)
OKLCHoklch(50.85% 0.137 135.4)
XYZxyz(8.6828, 14.0750, 3.0697)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7617 #4E1776
analogous
#6E7617 #3F7617 #17761F
triadic
#3F7617 #173F76 #76173F
tetradic
#3F7617 #176E76 #4E1776 #761F17
square
#3F7617 #176E76 #4E1776 #761F17
split-complementary
#3F7617 #1F1776 #76176E
monochromatic
#0E1A05 #24430D #3F7617 #5AA921 #77D731

Accessibility & contrast

On white

5.50
#3F7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#3F7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7617
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7617#FFFFFF#000000##FFFFFF
##3F76171.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#3D7164
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3f7617;
/* rgb */ color: rgb(63, 118, 23);
/* oklch */ color: oklch(50.9% 0.137 135.4);
Tailwind
colors: {
  custom: {
    50: '#7a9e5c',
    500: '#3f7617',
    950: '#000000',
  },
}
SCSS
$custom: #3f7617;
$custom-light: #7a9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7617",
  "rgb": {
    "r": 63,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 94.737,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.13684,
    "h": 135.4
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#3F7617
secondary
#7D3EAB
accent
#3EEAA2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7617

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

Preview Lab → · Contrast checker → · Palette generator →

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