#3F6417#3F6417

#3F6417 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 45.9% C 0.113 H 132.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3F6417
RGBrgb(63, 100, 23)
HSLhsl(89, 63%, 24%)
HSVhsv(89, 77%, 39%)
CMYKcmyk(37%, 0%, 77%, 60.8%)
CIE-LABlab(38.26, -26.69, 37.24)
CIE-LCHlch(38.26, 45.82, 125.63°)
OKLaboklab(45.88% -0.0753 0.0836)
OKLCHoklch(45.88% 0.113 132)
XYZxyz(6.7616, 10.2327, 2.4293)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6417 #3C1764
analogous
#646317 #3F6417 #196417
triadic
#3F6417 #173F64 #64173F
tetradic
#3F6417 #176463 #3C1764 #641719
square
#3F6417 #176463 #3C1764 #641719
split-complementary
#3F6417 #171964 #631764
monochromatic
#101906 #20320C #3F6417 #5E9622 #7EC82E

Accessibility & contrast

On white

6.89
#3F6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3F6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6417
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6417#FFFFFF#000000##FFFFFF
##3F64171.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C09
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#406055
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f6417;
/* rgb */ color: rgb(63, 100, 23);
/* oklch */ color: oklch(45.9% 0.113 132.0);
Tailwind
colors: {
  custom: {
    50: '#78905a',
    500: '#3f6417',
    950: '#000000',
  },
}
SCSS
$custom: #3f6417;
$custom-light: #78905a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6417",
  "rgb": {
    "r": 63,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 88.831,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.11253,
    "h": 132
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#3F6417
secondary
#6A3C9A
accent
#42E691
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3F6417

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

Preview Lab → · Contrast checker → · Palette generator →

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