#3C7418#3C7418

#3C7418 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.2% C 0.135 H 136.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#3C7418
RGBrgb(60, 116, 24)
HSLhsl(97, 66%, 27%)
HSVhsv(97, 79%, 45%)
CMYKcmyk(48.3%, 0%, 79.3%, 54.5%)
CIE-LABlab(43.53, -35.01, 41.99)
CIE-LCHlch(43.53, 54.67, 129.82°)
OKLaboklab(50.15% -0.0975 0.0938)
OKLCHoklch(50.15% 0.135 136.1)
XYZxyz(8.2735, 13.5169, 3.0370)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7418 #501874
analogous
#6A7418 #3C7418 #187422
triadic
#3C7418 #183C74 #74183C
tetradic
#3C7418 #186A74 #501874 #742218
square
#3C7418 #186A74 #501874 #742218
split-complementary
#3C7418 #221874 #74186A
monochromatic
#0D1905 #22410E #3C7418 #56A722 #72D532

Accessibility & contrast

On white

5.67
#3C7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3C7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7418
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7418#FFFFFF#000000##FFFFFF
##3C74181.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#3A6F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3c7418;
/* rgb */ color: rgb(60, 116, 24);
/* oklch */ color: oklch(50.2% 0.135 136.1);
Tailwind
colors: {
  custom: {
    50: '#789c5d',
    500: '#3c7418',
    950: '#000000',
  },
}
SCSS
$custom: #3c7418;
$custom-light: #789c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7418",
  "rgb": {
    "r": 60,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 96.522,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.13528,
    "h": 136.1
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#3C7418
secondary
#7F3FA9
accent
#3FE9A6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7418

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

Preview Lab → · Contrast checker → · Palette generator →

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