#3C7818#3C7818

#3C7818 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.3% C 0.140 H 136.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3C7818
RGBrgb(60, 120, 24)
HSLhsl(98, 67%, 28%)
HSVhsv(98, 80%, 47%)
CMYKcmyk(50%, 0%, 80%, 52.9%)
CIE-LABlab(44.88, -36.71, 43.29)
CIE-LCHlch(44.88, 56.76, 130.30°)
OKLaboklab(51.27% -0.1021 0.0965)
OKLCHoklch(51.27% 0.14 136.6)
XYZxyz(8.7446, 14.4590, 3.1940)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7818 #541878
analogous
#6C7818 #3C7818 #187824
triadic
#3C7818 #183C78 #78183C
tetradic
#3C7818 #186C78 #541878 #782418
square
#3C7818 #186C78 #541878 #782418
split-complementary
#3C7818 #241878 #78186C
monochromatic
#0D1A05 #22450E #3C7818 #55AB22 #71D634

Accessibility & contrast

On white

5.40
#3C7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3C7818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7818
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7818#FFFFFF#000000##FFFFFF
##3C78181.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#397366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3c7818;
/* rgb */ color: rgb(60, 120, 24);
/* oklch */ color: oklch(51.3% 0.140 136.6);
Tailwind
colors: {
  custom: {
    50: '#789f5d',
    500: '#3c7818',
    950: '#000000',
  },
}
SCSS
$custom: #3c7818;
$custom-light: #789f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7818",
  "rgb": {
    "r": 60,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 97.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.14047,
    "h": 136.6
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

primary
#3C7818
secondary
#843FAD
accent
#3EEAA9
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3C7818

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

Preview Lab → · Contrast checker → · Palette generator →

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