#3F6917#3F6917

#3F6917 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.3% C 0.119 H 133.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#3F6917
RGBrgb(63, 105, 23)
HSLhsl(91, 64%, 25%)
HSVhsv(91, 78%, 41%)
CMYKcmyk(40%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.95, -29.06, 38.92)
CIE-LCHlch(39.95, 48.57, 126.75°)
OKLaboklab(47.26% -0.0817 0.0871)
OKLCHoklch(47.26% 0.119 133.2)
XYZxyz(7.2560, 11.2214, 2.5941)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6917 #411769
analogous
#686917 #3F6917 #176918
triadic
#3F6917 #173F69 #69173F
tetradic
#3F6917 #176869 #411769 #691817
square
#3F6917 #176869 #411769 #691817
split-complementary
#3F6917 #181769 #691768
monochromatic
#0F1905 #21370C #3F6917 #5D9B22 #7BCD2D

Accessibility & contrast

On white

6.47
#3F6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3F6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6917
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6917#FFFFFF#000000##FFFFFF
##3F69171.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6007
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#3F6559
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f6917;
/* rgb */ color: rgb(63, 105, 23);
/* oklch */ color: oklch(47.3% 0.119 133.2);
Tailwind
colors: {
  custom: {
    50: '#78945b',
    500: '#3f6917',
    950: '#000000',
  },
}
SCSS
$custom: #3f6917;
$custom-light: #78945b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6917",
  "rgb": {
    "r": 63,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 90.732,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47258,
    "c": 0.11946,
    "h": 133.2
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#3F6917
secondary
#6F3D9F
accent
#41E796
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6917

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

Preview Lab → · Contrast checker → · Palette generator →

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