#3F6511#3F6511

#3F6511 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.118 H 131.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3F6511
RGBrgb(63, 101, 17)
HSLhsl(87, 71%, 23%)
HSVhsv(87, 83%, 40%)
CMYKcmyk(37.6%, 0%, 83.2%, 60.4%)
CIE-LABlab(38.56, -27.55, 39.76)
CIE-LCHlch(38.56, 48.37, 124.72°)
OKLaboklab(46.11% -0.0781 0.0879)
OKLCHoklch(46.11% 0.118 131.6)
XYZxyz(6.8047, 10.4043, 2.1799)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6511 #371165
analogous
#656111 #3F6511 #156511
triadic
#3F6511 #113F65 #65113F
tetradic
#3F6511 #116561 #371165 #651115
square
#3F6511 #116561 #371165 #651115
split-complementary
#3F6511 #111565 #611165
monochromatic
#101A04 #1E3108 #3F6511 #60991A #80CE23

Accessibility & contrast

On white

6.82
#3F6511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3F6511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6511
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6511#FFFFFF#000000##FFFFFF
##3F65111.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#406055
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f6511;
/* rgb */ color: rgb(63, 101, 17);
/* oklch */ color: oklch(46.1% 0.118 131.6);
Tailwind
colors: {
  custom: {
    50: '#789157',
    500: '#3f6511',
    950: '#000000',
  },
}
SCSS
$custom: #3f6511;
$custom-light: #789157;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6511",
  "rgb": {
    "r": 63,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 87.143,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.11758,
    "h": 131.6
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#3F6511
secondary
#64359D
accent
#3AEE8B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F6511

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

Preview Lab → · Contrast checker → · Palette generator →

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