#3F7D12#3F7D12

#3F7D12 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.8% C 0.148 H 136.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3F7D12
RGBrgb(63, 125, 18)
HSLhsl(95, 75%, 28%)
HSVhsv(95, 86%, 49%)
CMYKcmyk(49.6%, 0%, 85.6%, 51%)
CIE-LABlab(46.67, -38.14, 46.88)
CIE-LCHlch(46.67, 60.43, 129.13°)
OKLaboklab(52.76% -0.1065 0.103)
OKLCHoklch(52.76% 0.148 136)
XYZxyz(9.4924, 15.7670, 3.1153)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D12 #50127D
analogous
#747D12 #3F7D12 #127D1A
triadic
#3F7D12 #123F7D #7D123F
tetradic
#3F7D12 #12747D #50127D #7D1A12
square
#3F7D12 #12747D #50127D #7D1A12
split-complementary
#3F7D12 #1A127D #7D1274
monochromatic
#0D1B04 #24480A #3F7D12 #5AB21A #76E029

Accessibility & contrast

On white

5.06
#3F7D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3F7D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7D12
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7D12#FFFFFF#000000##FFFFFF
##3F7D121.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#3C786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7d12;
/* rgb */ color: rgb(63, 125, 18);
/* oklch */ color: oklch(52.8% 0.148 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ba35b',
    500: '#3f7d12',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d12;
$custom-light: #7ba35b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d12",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 94.766,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.14817,
    "h": 136
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#3F7D12
secondary
#7F38B3
accent
#36F1A3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F7D12

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

Preview Lab → · Contrast checker → · Palette generator →

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