#3F6B17#3F6B17

#3F6B17 is a mid, vivid yellow-green. Relative luminance 0.116; OKLCH L 47.8% C 0.122 H 133.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3F6B17
RGBrgb(63, 107, 23)
HSLhsl(91, 65%, 25%)
HSVhsv(91, 79%, 42%)
CMYKcmyk(41.1%, 0%, 78.5%, 58%)
CIE-LABlab(40.63, -29.99, 39.58)
CIE-LCHlch(40.63, 49.66, 127.15°)
OKLaboklab(47.81% -0.0842 0.0885)
OKLCHoklch(47.81% 0.122 133.6)
XYZxyz(7.4621, 11.6337, 2.6628)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6B17 #43176B
analogous
#696B17 #3F6B17 #176B19
triadic
#3F6B17 #173F6B #6B173F
tetradic
#3F6B17 #17696B #43176B #6B1917
square
#3F6B17 #17696B #43176B #6B1917
split-complementary
#3F6B17 #19176B #6B1769
monochromatic
#0F1905 #21390C #3F6B17 #5D9D22 #7AD02D

Accessibility & contrast

On white

6.31
#3F6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3F6B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6B17
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6B17#FFFFFF#000000##FFFFFF
##3F6B171.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706206
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#3F665B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f6b17;
/* rgb */ color: rgb(63, 107, 23);
/* oklch */ color: oklch(47.8% 0.122 133.6);
Tailwind
colors: {
  custom: {
    50: '#78965b',
    500: '#3f6b17',
    950: '#000000',
  },
}
SCSS
$custom: #3f6b17;
$custom-light: #78965b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6b17",
  "rgb": {
    "r": 63,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 91.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47812,
    "c": 0.1222,
    "h": 133.6
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#3F6B17
secondary
#713DA1
accent
#40E898
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6B17

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

Preview Lab → · Contrast checker → · Palette generator →

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