#3C7816#3C7816

#3C7816 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.3% C 0.142 H 136.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3C7816
RGBrgb(60, 120, 22)
HSLhsl(97, 69%, 28%)
HSVhsv(97, 82%, 47%)
CMYKcmyk(50%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.87, -36.84, 43.96)
CIE-LCHlch(44.87, 57.35, 129.96°)
OKLaboklab(51.25% -0.1026 0.0976)
OKLCHoklch(51.25% 0.142 136.4)
XYZxyz(8.7245, 14.4509, 3.0885)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7816 #521678
analogous
#6D7816 #3C7816 #167821
triadic
#3C7816 #163C78 #78163C
tetradic
#3C7816 #166D78 #521678 #782116
square
#3C7816 #166D78 #521678 #782116
split-complementary
#3C7816 #211678 #78166D
monochromatic
#0D1A05 #22440D #3C7816 #56AC1F #71D92F

Accessibility & contrast

On white

5.40
#3C7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3C7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7816
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7816#FFFFFF#000000##FFFFFF
##3C78161.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#397366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3c7816;
/* rgb */ color: rgb(60, 120, 22);
/* oklch */ color: oklch(51.3% 0.142 136.4);
Tailwind
colors: {
  custom: {
    50: '#789f5c',
    500: '#3c7816',
    950: '#000000',
  },
}
SCSS
$custom: #3c7816;
$custom-light: #789f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7816",
  "rgb": {
    "r": 60,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 96.735,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51253,
    "c": 0.14156,
    "h": 136.4
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#3C7816
secondary
#823CAD
accent
#3CECA8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7816

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

Preview Lab → · Contrast checker → · Palette generator →

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