#3F7012#3F7012

#3F7012 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.2% C 0.132 H 134.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3F7012
RGBrgb(63, 112, 18)
HSLhsl(91, 72%, 25%)
HSVhsv(91, 84%, 44%)
CMYKcmyk(43.7%, 0%, 83.9%, 56.1%)
CIE-LABlab(42.29, -32.56, 42.89)
CIE-LCHlch(42.29, 53.85, 127.20°)
OKLaboklab(49.16% -0.0915 0.0946)
OKLCHoklch(49.16% 0.132 134)
XYZxyz(7.9531, 12.6883, 2.6022)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7012 #431270
analogous
#6E7012 #3F7012 #127014
triadic
#3F7012 #123F70 #70123F
tetradic
#3F7012 #126E70 #431270 #701412
square
#3F7012 #126E70 #431270 #701412
split-complementary
#3F7012 #141270 #70126E
monochromatic
#0F1A04 #213B0A #3F7012 #5DA51A #7AD923

Accessibility & contrast

On white

5.94
#3F7012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3F7012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7012
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7012#FFFFFF#000000##FFFFFF
##3F70121.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#3E6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f7012;
/* rgb */ color: rgb(63, 112, 18);
/* oklch */ color: oklch(49.2% 0.132 134.0);
Tailwind
colors: {
  custom: {
    50: '#799959',
    500: '#3f7012',
    950: '#000000',
  },
}
SCSS
$custom: #3f7012;
$custom-light: #799959;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7012",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 91.277,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49164,
    "c": 0.13165,
    "h": 134
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#3F7012
secondary
#7137A7
accent
#39EF98
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F7012

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

Preview Lab → · Contrast checker → · Palette generator →

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