#3F7D0F#3F7D0F

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

Color values

HEX#3F7D0F
RGBrgb(63, 125, 15)
HSLhsl(94, 79%, 27%)
HSVhsv(94, 88%, 49%)
CMYKcmyk(49.6%, 0%, 88%, 51%)
CIE-LABlab(46.66, -38.27, 47.66)
CIE-LCHlch(46.66, 61.12, 128.77°)
OKLaboklab(52.75% -0.107 0.1042)
OKLCHoklch(52.75% 0.149 135.8)
XYZxyz(9.4695, 15.7579, 2.9944)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D0F #4D0F7D
analogous
#767D0F #3F7D0F #0F7D16
triadic
#3F7D0F #0F3F7D #7D0F3F
tetradic
#3F7D0F #0F767D #4D0F7D #7D160F
square
#3F7D0F #0F767D #4D0F7D #7D160F
split-complementary
#3F7D0F #160F7D #7D0F76
monochromatic
#0E1B03 #234608 #3F7D0F #5BB416 #77E422

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7D0F#FFFFFF#000000##FFFFFF
##3F7D0F1.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)
#7A6D1E
Tritanopia (blue-blind)
#3C786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7d0f;
/* rgb */ color: rgb(63, 125, 15);
/* oklch */ color: oklch(52.7% 0.149 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ba35a',
    500: '#3f7d0f',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d0f;
$custom-light: #7ba35a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d0f",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 15
  },
  "hsl": {
    "h": 93.818,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52745,
    "c": 0.14938,
    "h": 135.8
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#3F7D0F
secondary
#7C34B4
accent
#33F5A0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F7D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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