#3F7915#3F7915

#3F7915 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.142 H 135.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3F7915
RGBrgb(63, 121, 21)
HSLhsl(95, 70%, 28%)
HSVhsv(95, 83%, 47%)
CMYKcmyk(47.9%, 0%, 82.6%, 52.5%)
CIE-LABlab(45.34, -36.30, 44.77)
CIE-LCHlch(45.34, 57.64, 129.04°)
OKLaboklab(51.67% -0.1014 0.0991)
OKLCHoklch(51.67% 0.142 135.7)
XYZxyz(9.0224, 14.7851, 3.0877)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7915 #4F1579
analogous
#717915 #3F7915 #15791D
triadic
#3F7915 #153F79 #79153F
tetradic
#3F7915 #157179 #4F1579 #791D15
square
#3F7915 #157179 #4F1579 #791D15
split-complementary
#3F7915 #1D1579 #791571
monochromatic
#0E1A05 #24450C #3F7915 #5AAD1E #76DB2E

Accessibility & contrast

On white

5.31
#3F7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3F7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7915
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7915#FFFFFF#000000##FFFFFF
##3F79151.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#3D7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f7915;
/* rgb */ color: rgb(63, 121, 21);
/* oklch */ color: oklch(51.7% 0.142 135.7);
Tailwind
colors: {
  custom: {
    50: '#7aa05c',
    500: '#3f7915',
    950: '#000000',
  },
}
SCSS
$custom: #3f7915;
$custom-light: #7aa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7915",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 94.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.14175,
    "h": 135.7
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#3F7915
secondary
#7E3BAF
accent
#3BEDA2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3F7915

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

Preview Lab → · Contrast checker → · Palette generator →

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