#3B6818#3B6818

#3B6818 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 46.8% C 0.120 H 134.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3B6818
RGBrgb(59, 104, 24)
HSLhsl(94, 63%, 25%)
HSVhsv(94, 77%, 41%)
CMYKcmyk(43.3%, 0%, 76.9%, 59.2%)
CIE-LABlab(39.40, -30.04, 37.91)
CIE-LCHlch(39.40, 48.37, 128.40°)
OKLaboklab(46.76% -0.084 0.0853)
OKLCHoklch(46.76% 0.12 134.6)
XYZxyz(6.9187, 10.8960, 2.6026)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6818 #451868
analogous
#636818 #3B6818 #18681D
triadic
#3B6818 #183B68 #68183B
tetradic
#3B6818 #186368 #451868 #681D18
square
#3B6818 #186368 #451868 #681D18
split-complementary
#3B6818 #1D1868 #681863
monochromatic
#0E1906 #1F360D #3B6818 #579A23 #73CB2F

Accessibility & contrast

On white

6.61
#3B6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3B6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B6818
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6818#FFFFFF#000000##FFFFFF
##3B68181.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#3A6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b6818;
/* rgb */ color: rgb(59, 104, 24);
/* oklch */ color: oklch(46.8% 0.120 134.6);
Tailwind
colors: {
  custom: {
    50: '#75935b',
    500: '#3b6818',
    950: '#000000',
  },
}
SCSS
$custom: #3b6818;
$custom-light: #75935b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6818",
  "rgb": {
    "r": 59,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 93.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46756,
    "c": 0.11972,
    "h": 134.6
  },
  "luminance": 0.10896
}

Semantic roles & 50–950 ramp

primary
#3B6818
secondary
#743E9E
accent
#42E69E
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3B6818

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

Preview Lab → · Contrast checker → · Palette generator →

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