#3F8115#3F8115

#3F8115 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.9% C 0.152 H 136.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3F8115
RGBrgb(63, 129, 21)
HSLhsl(97, 72%, 29%)
HSVhsv(97, 84%, 51%)
CMYKcmyk(51.2%, 0%, 83.7%, 49.4%)
CIE-LABlab(48.02, -39.63, 47.24)
CIE-LCHlch(48.02, 61.67, 129.99°)
OKLaboklab(53.88% -0.1103 0.1043)
OKLCHoklch(53.88% 0.152 136.6)
XYZxyz(10.0352, 16.8107, 3.4253)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8115 #571581
analogous
#758115 #3F8115 #158121
triadic
#3F8115 #153F81 #81153F
tetradic
#3F8115 #157581 #571581 #812115
square
#3F8115 #157581 #571581 #812115
split-complementary
#3F8115 #211581 #811575
monochromatic
#0D1A04 #254C0C #3F8115 #59B61E #75DE33

Accessibility & contrast

On white

4.81
#3F8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3F8115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8115
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8115#FFFFFF#000000##FFFFFF
##3F81151.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#3B7C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f8115;
/* rgb */ color: rgb(63, 129, 21);
/* oklch */ color: oklch(53.9% 0.152 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ba65d',
    500: '#3f8115',
    950: '#000000',
  },
}
SCSS
$custom: #3f8115;
$custom-light: #7ba65d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8115",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 96.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.15179,
    "h": 136.6
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#3F8115
secondary
#863CB6
accent
#39EFA8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8115

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

Preview Lab → · Contrast checker → · Palette generator →

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