#3F6E17#3F6E17

#3F6E17 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.126 H 134.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3F6E17
RGBrgb(63, 110, 23)
HSLhsl(92, 65%, 26%)
HSVhsv(92, 79%, 43%)
CMYKcmyk(42.7%, 0%, 79.1%, 56.9%)
CIE-LABlab(41.64, -31.36, 40.57)
CIE-LCHlch(41.64, 51.28, 127.70°)
OKLaboklab(48.64% -0.0879 0.0906)
OKLCHoklch(48.64% 0.126 134.2)
XYZxyz(7.7803, 12.2701, 2.7689)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6E17 #46176E
analogous
#6A6E17 #3F6E17 #176E1A
triadic
#3F6E17 #173F6E #6E173F
tetradic
#3F6E17 #176A6E #46176E #6E1A17
square
#3F6E17 #176A6E #46176E #6E1A17
split-complementary
#3F6E17 #1A176E #6E176A
monochromatic
#0E1905 #223B0C #3F6E17 #5CA122 #79D32C

Accessibility & contrast

On white

6.08
#3F6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3F6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6E17
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6E17#FFFFFF#000000##FFFFFF
##3F6E171.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#3E695D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f6e17;
/* rgb */ color: rgb(63, 110, 23);
/* oklch */ color: oklch(48.6% 0.126 134.2);
Tailwind
colors: {
  custom: {
    50: '#79985b',
    500: '#3f6e17',
    950: '#000000',
  },
}
SCSS
$custom: #3f6e17;
$custom-light: #79985b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6e17",
  "rgb": {
    "r": 63,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 92.414,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48642,
    "c": 0.12625,
    "h": 134.2
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#3F6E17
secondary
#753DA4
accent
#3FE89B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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