#3F7D13#3F7D13

#3F7D13 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#3F7D13
RGBrgb(63, 125, 19)
HSLhsl(95, 74%, 28%)
HSVhsv(95, 85%, 49%)
CMYKcmyk(49.6%, 0%, 84.8%, 51%)
CIE-LABlab(46.67, -38.09, 46.60)
CIE-LCHlch(46.67, 60.18, 129.26°)
OKLaboklab(52.76% -0.1063 0.1026)
OKLCHoklch(52.76% 0.148 136)
XYZxyz(9.5008, 15.7704, 3.1593)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D13 #51137D
analogous
#747D13 #3F7D13 #137D1C
triadic
#3F7D13 #133F7D #7D133F
tetradic
#3F7D13 #13747D #51137D #7D1C13
square
#3F7D13 #13747D #51137D #7D1C13
split-complementary
#3F7D13 #1C137D #7D1374
monochromatic
#0D1B04 #24480B #3F7D13 #5AB21B #76DF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7D13#FFFFFF#000000##FFFFFF
##3F7D131.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: #3f7d13;
/* rgb */ color: rgb(63, 125, 19);
/* oklch */ color: oklch(52.8% 0.148 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ba35c',
    500: '#3f7d13',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d13;
$custom-light: #7ba35c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d13",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 95.094,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52763,
    "c": 0.14773,
    "h": 136
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#3F7D13
secondary
#8039B3
accent
#38F0A4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F7D13

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

Preview Lab → · Contrast checker → · Palette generator →

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