#3F6216#3F6216

#3F6216 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.3% C 0.110 H 131.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3F6216
RGBrgb(63, 98, 22)
HSLhsl(88, 63%, 24%)
HSVhsv(88, 78%, 38%)
CMYKcmyk(35.7%, 0%, 77.6%, 61.6%)
CIE-LABlab(37.57, -25.79, 36.96)
CIE-LCHlch(37.57, 45.07, 124.91°)
OKLaboklab(45.31% -0.073 0.0829)
OKLCHoklch(45.31% 0.11 131.4)
XYZxyz(6.5623, 9.8498, 2.3143)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6216 #391662
analogous
#625F16 #3F6216 #196216
triadic
#3F6216 #163F62 #62163F
tetradic
#3F6216 #16625F #391662 #621619
square
#3F6216 #16625F #391662 #621619
split-complementary
#3F6216 #161962 #5F1662
monochromatic
#101906 #1F300B #3F6216 #5F9421 #7FC62C

Accessibility & contrast

On white

7.07
#3F6216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3F6216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F6216
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6216#FFFFFF#000000##FFFFFF
##3F62161.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A08
Deuteranopia (green-blind)
#62571D
Tritanopia (blue-blind)
#405E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f6216;
/* rgb */ color: rgb(63, 98, 22);
/* oklch */ color: oklch(45.3% 0.110 131.4);
Tailwind
colors: {
  custom: {
    50: '#778f59',
    500: '#3f6216',
    950: '#000000',
  },
}
SCSS
$custom: #3f6216;
$custom-light: #778f59;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6216",
  "rgb": {
    "r": 63,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 87.632,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.11041,
    "h": 131.4
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

primary
#3F6216
secondary
#663B99
accent
#41E68D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3F6216

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

Preview Lab → · Contrast checker → · Palette generator →

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