#3F6912#3F6912

#3F6912 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.2% C 0.122 H 132.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#3F6912
RGBrgb(63, 105, 18)
HSLhsl(89, 71%, 24%)
HSVhsv(89, 83%, 41%)
CMYKcmyk(40%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.92, -29.37, 40.69)
CIE-LCHlch(39.92, 50.19, 125.82°)
OKLaboklab(47.22% -0.083 0.09)
OKLCHoklch(47.22% 0.122 132.7)
XYZxyz(7.2106, 11.2033, 2.3547)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6912 #3C1269
analogous
#696812 #3F6912 #136912
triadic
#3F6912 #123F69 #69123F
tetradic
#3F6912 #126968 #3C1269 #691213
square
#3F6912 #126968 #3C1269 #691213
split-complementary
#3F6912 #121369 #681269
monochromatic
#101A04 #203509 #3F6912 #5E9D1B #7ED124

Accessibility & contrast

On white

6.48
#3F6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3F6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6912
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6912#FFFFFF#000000##FFFFFF
##3F69121.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#406459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f6912;
/* rgb */ color: rgb(63, 105, 18);
/* oklch */ color: oklch(47.2% 0.122 132.7);
Tailwind
colors: {
  custom: {
    50: '#789458',
    500: '#3f6912',
    950: '#000000',
  },
}
SCSS
$custom: #3f6912;
$custom-light: #789458;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6912",
  "rgb": {
    "r": 63,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 88.966,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47224,
    "c": 0.12241,
    "h": 132.7
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#3F6912
secondary
#6A36A1
accent
#3AED91
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6912

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

Preview Lab → · Contrast checker → · Palette generator →

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