#3F6617#3F6617

#3F6617 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.4% C 0.115 H 132.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3F6617
RGBrgb(63, 102, 23)
HSLhsl(90, 63%, 25%)
HSVhsv(90, 77%, 40%)
CMYKcmyk(38.2%, 0%, 77.5%, 60%)
CIE-LABlab(38.93, -27.65, 37.92)
CIE-LCHlch(38.93, 46.93, 126.10°)
OKLaboklab(46.43% -0.0779 0.085)
OKLCHoklch(46.43% 0.115 132.5)
XYZxyz(6.9558, 10.6211, 2.4940)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6617 #3E1766
analogous
#666617 #3F6617 #186617
triadic
#3F6617 #173F66 #66173F
tetradic
#3F6617 #176666 #3E1766 #661718
square
#3F6617 #176666 #3E1766 #661718
split-complementary
#3F6617 #171866 #661766
monochromatic
#0F1906 #20340C #3F6617 #5E9822 #7DCA2E

Accessibility & contrast

On white

6.72
#3F6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3F6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6617
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6617#FFFFFF#000000##FFFFFF
##3F66171.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#655B1F
Tritanopia (blue-blind)
#406257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f6617;
/* rgb */ color: rgb(63, 102, 23);
/* oklch */ color: oklch(46.4% 0.115 132.5);
Tailwind
colors: {
  custom: {
    50: '#78925a',
    500: '#3f6617',
    950: '#000000',
  },
}
SCSS
$custom: #3f6617;
$custom-light: #78925a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6617",
  "rgb": {
    "r": 63,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 89.62,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.11533,
    "h": 132.5
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#3F6617
secondary
#6C3C9C
accent
#42E693
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6617

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

Preview Lab → · Contrast checker → · Palette generator →

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