#3F6813#3F6813

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

Color values

HEX#3F6813
RGBrgb(63, 104, 19)
HSLhsl(89, 69%, 24%)
HSVhsv(89, 82%, 41%)
CMYKcmyk(39.4%, 0%, 81.7%, 59.2%)
CIE-LABlab(39.59, -28.85, 40.04)
CIE-LCHlch(39.59, 49.35, 125.77°)
OKLaboklab(46.95% -0.0815 0.0888)
OKLCHoklch(46.95% 0.121 132.5)
XYZxyz(7.1177, 11.0041, 2.3649)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6813 #3C1368
analogous
#686713 #3F6813 #156813
triadic
#3F6813 #133F68 #68133F
tetradic
#3F6813 #136867 #3C1368 #681315
square
#3F6813 #136867 #3C1368 #681315
split-complementary
#3F6813 #131568 #671368
monochromatic
#101A05 #20340A #3F6813 #5E9C1C #7ECF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F6813#FFFFFF#000000##FFFFFF
##3F68131.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)
#675C1C
Tritanopia (blue-blind)
#406358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f6813;
/* rgb */ color: rgb(63, 104, 19);
/* oklch */ color: oklch(47.0% 0.121 132.5);
Tailwind
colors: {
  custom: {
    50: '#789358',
    500: '#3f6813',
    950: '#000000',
  },
}
SCSS
$custom: #3f6813;
$custom-light: #789358;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6813",
  "rgb": {
    "r": 63,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 88.941,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46953,
    "c": 0.12052,
    "h": 132.5
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#3F6813
secondary
#6A379F
accent
#3CEC91
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6813

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

Preview Lab → · Contrast checker → · Palette generator →

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