#3C7315#3C7315

#3C7315 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 49.9% C 0.136 H 135.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3C7315
RGBrgb(60, 115, 21)
HSLhsl(95, 69%, 27%)
HSVhsv(95, 82%, 45%)
CMYKcmyk(47.8%, 0%, 81.7%, 54.9%)
CIE-LABlab(43.18, -34.77, 42.69)
CIE-LCHlch(43.18, 55.06, 129.16°)
OKLaboklab(49.86% -0.0971 0.0948)
OKLCHoklch(49.86% 0.136 135.7)
XYZxyz(8.1294, 13.2758, 2.8434)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7315 #4C1573
analogous
#6B7315 #3C7315 #15731D
triadic
#3C7315 #153C73 #73153C
tetradic
#3C7315 #156B73 #4C1573 #731D15
square
#3C7315 #156B73 #4C1573 #731D15
split-complementary
#3C7315 #1D1573 #73156B
monochromatic
#0E1A05 #213F0C #3C7315 #57A71E #72D82A

Accessibility & contrast

On white

5.75
#3C7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3C7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7315
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7315#FFFFFF#000000##FFFFFF
##3C73151.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#3A6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3c7315;
/* rgb */ color: rgb(60, 115, 21);
/* oklch */ color: oklch(49.9% 0.136 135.7);
Tailwind
colors: {
  custom: {
    50: '#789c5b',
    500: '#3c7315',
    950: '#000000',
  },
}
SCSS
$custom: #3c7315;
$custom-light: #789c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7315",
  "rgb": {
    "r": 60,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 95.106,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.13565,
    "h": 135.7
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

primary
#3C7315
secondary
#7B3BA9
accent
#3CECA3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7315

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

Preview Lab → · Contrast checker → · Palette generator →

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