#3F7E12#3F7E12

#3F7E12 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.0% C 0.149 H 136.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3F7E12
RGBrgb(63, 126, 18)
HSLhsl(95, 75%, 28%)
HSVhsv(95, 86%, 49%)
CMYKcmyk(50%, 0%, 85.7%, 50.6%)
CIE-LABlab(47.00, -38.55, 47.18)
CIE-LCHlch(47.00, 60.93, 129.25°)
OKLaboklab(53.03% -0.1076 0.1037)
OKLCHoklch(53.03% 0.149 136.1)
XYZxyz(9.6197, 16.0215, 3.1577)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7E12 #51127E
analogous
#757E12 #3F7E12 #127E1B
triadic
#3F7E12 #123F7E #7E123F
tetradic
#3F7E12 #12757E #51127E #7E1B12
square
#3F7E12 #12757E #51127E #7E1B12
split-complementary
#3F7E12 #1B127E #7E1275
monochromatic
#0D1B04 #24480A #3F7E12 #5AB41A #76E12A

Accessibility & contrast

On white

4.99
#3F7E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3F7E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7E12
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7E12#FFFFFF#000000##FFFFFF
##3F7E121.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#3C796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7e12;
/* rgb */ color: rgb(63, 126, 18);
/* oklch */ color: oklch(53.0% 0.149 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ba45c',
    500: '#3f7e12',
    950: '#000000',
  },
}
SCSS
$custom: #3f7e12;
$custom-light: #7ba45c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7e12",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 95,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.14941,
    "h": 136.1
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#3F7E12
secondary
#8038B4
accent
#36F2A4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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