#3F6112#3F6112

#3F6112 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.0% C 0.112 H 130.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#3F6112
RGBrgb(63, 97, 18)
HSLhsl(86, 69%, 23%)
HSVhsv(86, 81%, 38%)
CMYKcmyk(35.1%, 0%, 81.4%, 62%)
CIE-LABlab(37.21, -25.56, 38.14)
CIE-LCHlch(37.21, 45.91, 123.84°)
OKLaboklab(45.01% -0.0727 0.0846)
OKLCHoklch(45.01% 0.112 130.6)
XYZxyz(6.4337, 9.6496, 2.0957)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6112 #341261
analogous
#615C12 #3F6112 #176112
triadic
#3F6112 #123F61 #61123F
tetradic
#3F6112 #12615C #341261 #611217
square
#3F6112 #12615C #341261 #611217
split-complementary
#3F6112 #121761 #5C1261
monochromatic
#111A05 #1D2D08 #3F6112 #61951C #82C825

Accessibility & contrast

On white

7.17
#3F6112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3F6112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F6112
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6112#FFFFFF#000000##FFFFFF
##3F61121.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665901
Deuteranopia (green-blind)
#61571A
Tritanopia (blue-blind)
#415D52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f6112;
/* rgb */ color: rgb(63, 97, 18);
/* oklch */ color: oklch(45.0% 0.112 130.6);
Tailwind
colors: {
  custom: {
    50: '#788e57',
    500: '#3f6112',
    950: '#000000',
  },
}
SCSS
$custom: #3f6112;
$custom-light: #788e57;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6112",
  "rgb": {
    "r": 63,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 85.823,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45007,
    "c": 0.11156,
    "h": 130.6
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#3F6112
secondary
#603699
accent
#3CEC88
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F6112

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

Preview Lab → · Contrast checker → · Palette generator →

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