#3C7C18#3C7C18

#3C7C18 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.4% C 0.146 H 137.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3C7C18
RGBrgb(60, 124, 24)
HSLhsl(98, 68%, 29%)
HSVhsv(98, 81%, 49%)
CMYKcmyk(51.6%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.23, -38.38, 44.58)
CIE-LCHlch(46.23, 58.82, 130.72°)
OKLaboklab(52.38% -0.1066 0.0992)
OKLCHoklch(52.38% 0.146 137.1)
XYZxyz(9.2357, 15.4413, 3.3578)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7C18 #58187C
analogous
#6E7C18 #3C7C18 #187C26
triadic
#3C7C18 #183C7C #7C183C
tetradic
#3C7C18 #186E7C #58187C #7C2618
square
#3C7C18 #186E7C #58187C #7C2618
split-complementary
#3C7C18 #26187C #7C186E
monochromatic
#0C1A05 #23490E #3C7C18 #55AF22 #71D836

Accessibility & contrast

On white

5.14
#3C7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#3C7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7C18
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7C18#FFFFFF#000000##FFFFFF
##3C7C181.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#387769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3c7c18;
/* rgb */ color: rgb(60, 124, 24);
/* oklch */ color: oklch(52.4% 0.146 137.1);
Tailwind
colors: {
  custom: {
    50: '#79a25e',
    500: '#3c7c18',
    950: '#000000',
  },
}
SCSS
$custom: #3c7c18;
$custom-light: #79a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7c18",
  "rgb": {
    "r": 60,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 98.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.14558,
    "h": 137.1
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#3C7C18
secondary
#883FB1
accent
#3DEAAC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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