#3F6512#3F6512

#3F6512 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.117 H 131.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3F6512
RGBrgb(63, 101, 18)
HSLhsl(87, 70%, 23%)
HSVhsv(87, 82%, 40%)
CMYKcmyk(37.6%, 0%, 82.2%, 60.4%)
CIE-LABlab(38.56, -27.49, 39.42)
CIE-LCHlch(38.56, 48.06, 124.89°)
OKLaboklab(46.12% -0.0779 0.0873)
OKLCHoklch(46.12% 0.117 131.7)
XYZxyz(6.8127, 10.4075, 2.2220)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6512 #381265
analogous
#656112 #3F6512 #156512
triadic
#3F6512 #123F65 #65123F
tetradic
#3F6512 #126561 #381265 #651215
square
#3F6512 #126561 #381265 #651215
split-complementary
#3F6512 #121565 #611265
monochromatic
#101A05 #1F3109 #3F6512 #5F991B #80CD25

Accessibility & contrast

On white

6.81
#3F6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3F6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6512
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6512#FFFFFF#000000##FFFFFF
##3F65121.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#406056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f6512;
/* rgb */ color: rgb(63, 101, 18);
/* oklch */ color: oklch(46.1% 0.117 131.7);
Tailwind
colors: {
  custom: {
    50: '#789158',
    500: '#3f6512',
    950: '#000000',
  },
}
SCSS
$custom: #3f6512;
$custom-light: #789158;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6512",
  "rgb": {
    "r": 63,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 87.47,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.11703,
    "h": 131.7
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#3F6512
secondary
#65369D
accent
#3BED8C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F6512

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

Preview Lab → · Contrast checker → · Palette generator →

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