#3F6012#3F6012

#3F6012 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.7% C 0.110 H 130.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3F6012
RGBrgb(63, 96, 18)
HSLhsl(85, 68%, 22%)
HSVhsv(85, 81%, 38%)
CMYKcmyk(34.4%, 0%, 81.3%, 62.4%)
CIE-LABlab(36.87, -25.07, 37.81)
CIE-LCHlch(36.87, 45.37, 123.55°)
OKLaboklab(44.73% -0.0713 0.084)
OKLCHoklch(44.73% 0.11 130.4)
XYZxyz(6.3419, 9.4660, 2.0651)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6012 #331260
analogous
#605A12 #3F6012 #186012
triadic
#3F6012 #123F60 #60123F
tetradic
#3F6012 #12605A #331260 #601218
square
#3F6012 #12605A #331260 #601218
split-complementary
#3F6012 #121860 #5A1260
monochromatic
#111A05 #1D2C08 #3F6012 #61941C #83C725

Accessibility & contrast

On white

7.26
#3F6012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3F6012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F6012
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6012#FFFFFF#000000##FFFFFF
##3F60121.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655802
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#415C51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f6012;
/* rgb */ color: rgb(63, 96, 18);
/* oklch */ color: oklch(44.7% 0.110 130.4);
Tailwind
colors: {
  custom: {
    50: '#778d57',
    500: '#3f6012',
    950: '#000000',
  },
}
SCSS
$custom: #3f6012;
$custom-light: #778d57;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6012",
  "rgb": {
    "r": 63,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 85.385,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4473,
    "c": 0.11018,
    "h": 130.4
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#3F6012
secondary
#5F3698
accent
#3DEB86
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F6012

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

Preview Lab → · Contrast checker → · Palette generator →

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