#3F6218#3F6218

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

Color values

HEX#3F6218
RGBrgb(63, 98, 24)
HSLhsl(88, 61%, 24%)
HSVhsv(88, 76%, 38%)
CMYKcmyk(35.7%, 0%, 75.5%, 61.6%)
CIE-LABlab(37.59, -25.64, 36.16)
CIE-LCHlch(37.59, 44.33, 125.34°)
OKLaboklab(45.33% -0.0724 0.0815)
OKLCHoklch(45.33% 0.109 131.6)
XYZxyz(6.5824, 9.8578, 2.4199)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6218 #3B1862
analogous
#626018 #3F6218 #1A6218
triadic
#3F6218 #183F62 #62183F
tetradic
#3F6218 #186260 #3B1862 #62181A
square
#3F6218 #186260 #3B1862 #62181A
split-complementary
#3F6218 #181A62 #601862
monochromatic
#101906 #1F310C #3F6218 #5F9324 #7EC430

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F6218#FFFFFF#000000##FFFFFF
##3F62181.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)
#675A0C
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#405E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f6218;
/* rgb */ color: rgb(63, 98, 24);
/* oklch */ color: oklch(45.3% 0.109 131.6);
Tailwind
colors: {
  custom: {
    50: '#778f5a',
    500: '#3f6218',
    950: '#000000',
  },
}
SCSS
$custom: #3f6218;
$custom-light: #778f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6218",
  "rgb": {
    "r": 63,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 88.378,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.10901,
    "h": 131.6
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#3F6218
secondary
#683E98
accent
#44E490
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3F6218

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

Preview Lab → · Contrast checker → · Palette generator →

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