#3C7815#3C7815

#3C7815 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.2% C 0.142 H 136.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3C7815
RGBrgb(60, 120, 21)
HSLhsl(96, 70%, 28%)
HSVhsv(96, 83%, 47%)
CMYKcmyk(50%, 0%, 82.5%, 52.9%)
CIE-LABlab(44.87, -36.89, 44.28)
CIE-LCHlch(44.87, 57.63, 129.80°)
OKLaboklab(51.25% -0.1028 0.0981)
OKLCHoklch(51.25% 0.142 136.3)
XYZxyz(8.7151, 14.4472, 3.0387)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7815 #511578
analogous
#6D7815 #3C7815 #157820
triadic
#3C7815 #153C78 #78153C
tetradic
#3C7815 #156D78 #511578 #782015
square
#3C7815 #156D78 #511578 #782015
split-complementary
#3C7815 #201578 #78156D
monochromatic
#0D1A05 #22440C #3C7815 #56AC1E #71DA2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C7815#FFFFFF#000000##FFFFFF
##3C78151.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)
#7C6D00
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#397366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3c7815;
/* rgb */ color: rgb(60, 120, 21);
/* oklch */ color: oklch(51.2% 0.142 136.3);
Tailwind
colors: {
  custom: {
    50: '#789f5c',
    500: '#3c7815',
    950: '#000000',
  },
}
SCSS
$custom: #3c7815;
$custom-light: #789f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7815",
  "rgb": {
    "r": 60,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 96.364,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.14207,
    "h": 136.3
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#3C7815
secondary
#813BAE
accent
#3BEDA7
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7815

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

Preview Lab → · Contrast checker → · Palette generator →

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