#3F6C15#3F6C15

#3F6C15 is a mid, vivid yellow-green. Relative luminance 0.118; OKLCH L 48.1% C 0.125 H 133.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#3F6C15
RGBrgb(63, 108, 21)
HSLhsl(91, 67%, 25%)
HSVhsv(91, 81%, 42%)
CMYKcmyk(41.7%, 0%, 80.6%, 57.6%)
CIE-LABlab(40.95, -30.58, 40.63)
CIE-LCHlch(40.95, 50.85, 126.96°)
OKLaboklab(48.08% -0.086 0.0904)
OKLCHoklch(48.08% 0.125 133.6)
XYZxyz(7.5477, 11.8357, 2.5961)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6C15 #42156C
analogous
#6B6C15 #3F6C15 #156C16
triadic
#3F6C15 #153F6C #6C153F
tetradic
#3F6C15 #156B6C #42156C #6C1615
square
#3F6C15 #156B6C #42156C #6C1615
split-complementary
#3F6C15 #16156C #6C156B
monochromatic
#0F1A05 #21390B #3F6C15 #5D9F1F #7BD229

Accessibility & contrast

On white

6.24
#3F6C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3F6C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6C15
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6C15#FFFFFF#000000##FFFFFF
##3F6C151.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716302
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#3F675C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f6c15;
/* rgb */ color: rgb(63, 108, 21);
/* oklch */ color: oklch(48.1% 0.125 133.6);
Tailwind
colors: {
  custom: {
    50: '#79965a',
    500: '#3f6c15',
    950: '#000000',
  },
}
SCSS
$custom: #3f6c15;
$custom-light: #79965a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6c15",
  "rgb": {
    "r": 63,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 91.034,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.12475,
    "h": 133.6
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#3F6C15
secondary
#703AA3
accent
#3DEA97
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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