#3C7F18#3C7F18

#3C7F18 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.149 H 137.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3C7F18
RGBrgb(60, 127, 24)
HSLhsl(99, 68%, 30%)
HSVhsv(99, 81%, 50%)
CMYKcmyk(52.8%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.24, -39.60, 45.54)
CIE-LCHlch(47.24, 60.35, 131.01°)
OKLaboklab(53.21% -0.1099 0.1012)
OKLCHoklch(53.21% 0.149 137.4)
XYZxyz(9.6174, 16.2046, 3.4850)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7F18 #5B187F
analogous
#707F18 #3C7F18 #187F27
triadic
#3C7F18 #183C7F #7F183C
tetradic
#3C7F18 #18707F #5B187F #7F2718
square
#3C7F18 #18707F #5B187F #7F2718
split-complementary
#3C7F18 #27187F #7F1870
monochromatic
#0C1A05 #244C0E #3C7F18 #54B222 #70D938

Accessibility & contrast

On white

4.95
#3C7F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3C7F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7F18
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7F18#FFFFFF#000000##FFFFFF
##3C7F181.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#377A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3c7f18;
/* rgb */ color: rgb(60, 127, 24);
/* oklch */ color: oklch(53.2% 0.149 137.4);
Tailwind
colors: {
  custom: {
    50: '#79a55e',
    500: '#3c7f18',
    950: '#000000',
  },
}
SCSS
$custom: #3c7f18;
$custom-light: #79a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7f18",
  "rgb": {
    "r": 60,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 99.029,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53206,
    "c": 0.14936,
    "h": 137.4
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#3C7F18
secondary
#8B3FB3
accent
#3DEBAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C7F18

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

Preview Lab → · Contrast checker → · Palette generator →

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