#3F6915#3F6915

#3F6915 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.2% C 0.121 H 133.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#3F6915
RGBrgb(63, 105, 21)
HSLhsl(90, 67%, 25%)
HSVhsv(90, 80%, 41%)
CMYKcmyk(40%, 0%, 80%, 58.8%)
CIE-LABlab(39.94, -29.19, 39.66)
CIE-LCHlch(39.94, 49.24, 126.36°)
OKLaboklab(47.24% -0.0822 0.0883)
OKLCHoklch(47.24% 0.121 133)
XYZxyz(7.2367, 11.2137, 2.4925)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6915 #3F1569
analogous
#696915 #3F6915 #156915
triadic
#3F6915 #153F69 #69153F
tetradic
#3F6915 #156969 #3F1569 #691515
square
#3F6915 #156969 #3F1569 #691515
split-complementary
#3F6915 #151569 #691569
monochromatic
#0F1A05 #20360B #3F6915 #5E9C1F #7CCF29

Accessibility & contrast

On white

6.48
#3F6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3F6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6915
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6915#FFFFFF#000000##FFFFFF
##3F69151.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6003
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#3F6459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f6915;
/* rgb */ color: rgb(63, 105, 21);
/* oklch */ color: oklch(47.2% 0.121 133.0);
Tailwind
colors: {
  custom: {
    50: '#78945a',
    500: '#3f6915',
    950: '#000000',
  },
}
SCSS
$custom: #3f6915;
$custom-light: #78945a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6915",
  "rgb": {
    "r": 63,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47244,
    "c": 0.1207,
    "h": 133
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#3F6915
secondary
#6D3AA0
accent
#3EEA94
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6915

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

Preview Lab → · Contrast checker → · Palette generator →

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