#3F6811#3F6811

#3F6811 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.122 H 132.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#3F6811
RGBrgb(63, 104, 17)
HSLhsl(88, 72%, 24%)
HSVhsv(88, 84%, 41%)
CMYKcmyk(39.4%, 0%, 83.7%, 59.2%)
CIE-LABlab(39.58, -28.96, 40.70)
CIE-LCHlch(39.58, 49.96, 125.43°)
OKLaboklab(46.94% -0.0819 0.0899)
OKLCHoklch(46.94% 0.122 132.4)
XYZxyz(7.1013, 10.9975, 2.2788)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6811 #3A1168
analogous
#686511 #3F6811 #136811
triadic
#3F6811 #113F68 #68113F
tetradic
#3F6811 #116865 #3A1168 #681113
square
#3F6811 #116865 #3A1168 #681113
split-complementary
#3F6811 #111368 #651168
monochromatic
#101A04 #1F3308 #3F6811 #5F9D1A #7FD122

Accessibility & contrast

On white

6.56
#3F6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3F6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6811
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6811#FFFFFF#000000##FFFFFF
##3F68111.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#406358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f6811;
/* rgb */ color: rgb(63, 104, 17);
/* oklch */ color: oklch(46.9% 0.122 132.4);
Tailwind
colors: {
  custom: {
    50: '#789358',
    500: '#3f6811',
    950: '#000000',
  },
}
SCSS
$custom: #3f6811;
$custom-light: #789358;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6811",
  "rgb": {
    "r": 63,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 88.276,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46941,
    "c": 0.12161,
    "h": 132.4
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#3F6811
secondary
#6735A0
accent
#39EF8F
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6811

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

Preview Lab → · Contrast checker → · Palette generator →

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