#3C7918#3C7918

#3C7918 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.5% C 0.142 H 136.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#3C7918
RGBrgb(60, 121, 24)
HSLhsl(98, 67%, 28%)
HSVhsv(98, 80%, 47%)
CMYKcmyk(50.4%, 0%, 80.2%, 52.5%)
CIE-LABlab(45.22, -37.13, 43.61)
CIE-LCHlch(45.22, 57.28, 130.41°)
OKLaboklab(51.54% -0.1032 0.0972)
OKLCHoklch(51.54% 0.142 136.7)
XYZxyz(8.8655, 14.7007, 3.2343)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7918 #551879
analogous
#6C7918 #3C7918 #187924
triadic
#3C7918 #183C79 #79183C
tetradic
#3C7918 #186C79 #551879 #792418
square
#3C7918 #186C79 #551879 #792418
split-complementary
#3C7918 #241879 #79186C
monochromatic
#0D1A05 #23460E #3C7918 #55AC22 #71D735

Accessibility & contrast

On white

5.33
#3C7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#3C7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7918
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7918#FFFFFF#000000##FFFFFF
##3C79181.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#397467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3c7918;
/* rgb */ color: rgb(60, 121, 24);
/* oklch */ color: oklch(51.5% 0.142 136.7);
Tailwind
colors: {
  custom: {
    50: '#78a05d',
    500: '#3c7918',
    950: '#000000',
  },
}
SCSS
$custom: #3c7918;
$custom-light: #78a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7918",
  "rgb": {
    "r": 60,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 97.732,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.14176,
    "h": 136.7
  },
  "luminance": 0.14701
}

Semantic roles & 50–950 ramp

primary
#3C7918
secondary
#853FAE
accent
#3EEAAA
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3C7918

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

Preview Lab → · Contrast checker → · Palette generator →

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