#3F6818#3F6818

#3F6818 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.0% C 0.117 H 133.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3F6818
RGBrgb(63, 104, 24)
HSLhsl(91, 63%, 25%)
HSVhsv(91, 77%, 41%)
CMYKcmyk(39.4%, 0%, 76.9%, 59.2%)
CIE-LABlab(39.62, -28.52, 38.20)
CIE-LCHlch(39.62, 47.67, 126.75°)
OKLaboklab(46.99% -0.0802 0.0858)
OKLCHoklch(46.99% 0.117 133.1)
XYZxyz(7.1650, 11.0230, 2.6141)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6818 #411868
analogous
#676818 #3F6818 #186819
triadic
#3F6818 #183F68 #68183F
tetradic
#3F6818 #186768 #411868 #681918
square
#3F6818 #186768 #411868 #681918
split-complementary
#3F6818 #191868 #681867
monochromatic
#0F1906 #21360D #3F6818 #5D9A23 #7BCB2F

Accessibility & contrast

On white

6.55
#3F6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3F6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6818
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6818#FFFFFF#000000##FFFFFF
##3F68181.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#3F6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f6818;
/* rgb */ color: rgb(63, 104, 24);
/* oklch */ color: oklch(47.0% 0.117 133.1);
Tailwind
colors: {
  custom: {
    50: '#78935b',
    500: '#3f6818',
    950: '#000000',
  },
}
SCSS
$custom: #3f6818;
$custom-light: #78935b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6818",
  "rgb": {
    "r": 63,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 90.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46989,
    "c": 0.11743,
    "h": 133.1
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#3F6818
secondary
#6F3E9E
accent
#42E696
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6818

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

Preview Lab → · Contrast checker → · Palette generator →

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