#3C7D18#3C7D18

#3C7D18 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.147 H 137.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3C7D18
RGBrgb(60, 125, 24)
HSLhsl(99, 68%, 29%)
HSVhsv(99, 81%, 49%)
CMYKcmyk(52%, 0%, 80.8%, 51%)
CIE-LABlab(46.57, -38.79, 44.90)
CIE-LCHlch(46.57, 59.33, 130.82°)
OKLaboklab(52.65% -0.1077 0.0999)
OKLCHoklch(52.65% 0.147 137.2)
XYZxyz(9.3617, 15.6932, 3.3998)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7D18 #59187D
analogous
#6F7D18 #3C7D18 #187D27
triadic
#3C7D18 #183C7D #7D183C
tetradic
#3C7D18 #186F7D #59187D #7D2718
square
#3C7D18 #186F7D #59187D #7D2718
split-complementary
#3C7D18 #27187D #7D186F
monochromatic
#0C1A05 #234A0E #3C7D18 #55B022 #70D937

Accessibility & contrast

On white

5.07
#3C7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3C7D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7D18
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7D18#FFFFFF#000000##FFFFFF
##3C7D181.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#38786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3c7d18;
/* rgb */ color: rgb(60, 125, 24);
/* oklch */ color: oklch(52.7% 0.147 137.2);
Tailwind
colors: {
  custom: {
    50: '#79a35e',
    500: '#3c7d18',
    950: '#000000',
  },
}
SCSS
$custom: #3c7d18;
$custom-light: #79a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7d18",
  "rgb": {
    "r": 60,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 98.614,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52652,
    "c": 0.14685,
    "h": 137.2
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#3C7D18
secondary
#893FB2
accent
#3DEBAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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