#3F6F12#3F6F12

#3F6F12 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.130 H 133.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#3F6F12
RGBrgb(63, 111, 18)
HSLhsl(91, 72%, 25%)
HSVhsv(91, 84%, 44%)
CMYKcmyk(43.2%, 0%, 83.8%, 56.5%)
CIE-LABlab(41.95, -32.11, 42.58)
CIE-LCHlch(41.95, 53.33, 127.02°)
OKLaboklab(48.89% -0.0903 0.094)
OKLCHoklch(48.89% 0.13 133.9)
XYZxyz(7.8434, 12.4689, 2.5656)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6F12 #42126F
analogous
#6D6F12 #3F6F12 #126F14
triadic
#3F6F12 #123F6F #6F123F
tetradic
#3F6F12 #126D6F #42126F #6F1412
square
#3F6F12 #126D6F #42126F #6F1412
split-complementary
#3F6F12 #14126F #6F126D
monochromatic
#0F1A04 #213A09 #3F6F12 #5DA41B #7BD823

Accessibility & contrast

On white

6.01
#3F6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3F6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6F12
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6F12#FFFFFF#000000##FFFFFF
##3F6F121.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#3F6A5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f6f12;
/* rgb */ color: rgb(63, 111, 18);
/* oklch */ color: oklch(48.9% 0.130 133.9);
Tailwind
colors: {
  custom: {
    50: '#799959',
    500: '#3f6f12',
    950: '#000000',
  },
}
SCSS
$custom: #3f6f12;
$custom-light: #799959;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6f12",
  "rgb": {
    "r": 63,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 90.968,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48887,
    "c": 0.13034,
    "h": 133.9
  },
  "luminance": 0.12469
}

Semantic roles & 50–950 ramp

primary
#3F6F12
secondary
#7037A6
accent
#39EF97
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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