#3C8315#3C8315

#3C8315 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.3% C 0.156 H 137.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3C8315
RGBrgb(60, 131, 21)
HSLhsl(99, 72%, 30%)
HSVhsv(99, 84%, 51%)
CMYKcmyk(54.2%, 0%, 84%, 48.6%)
CIE-LABlab(48.57, -41.37, 47.70)
CIE-LCHlch(48.57, 63.15, 130.94°)
OKLaboklab(54.3% -0.1148 0.1053)
OKLCHoklch(54.3% 0.156 137.5)
XYZxyz(10.1148, 17.2466, 3.5053)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8315 #5C1583
analogous
#738315 #3C8315 #158325
triadic
#3C8315 #153C83 #83153C
tetradic
#3C8315 #157383 #5C1583 #832515
square
#3C8315 #157383 #5C1583 #832515
split-complementary
#3C8315 #251583 #831573
monochromatic
#0C1A04 #244E0D #3C8315 #54B81D #70DE34

Accessibility & contrast

On white

4.72
#3C8315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3C8315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C8315
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8315#FFFFFF#000000##FFFFFF
##3C83151.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#377E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3c8315;
/* rgb */ color: rgb(60, 131, 21);
/* oklch */ color: oklch(54.3% 0.156 137.5);
Tailwind
colors: {
  custom: {
    50: '#7aa85e',
    500: '#3c8315',
    950: '#000000',
  },
}
SCSS
$custom: #3c8315;
$custom-light: #7aa85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8315",
  "rgb": {
    "r": 60,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 98.727,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54295,
    "c": 0.15575,
    "h": 137.5
  },
  "luminance": 0.17247
}

Semantic roles & 50–950 ramp

primary
#3C8315
secondary
#8C3CB8
accent
#39EFAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C8315

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

Preview Lab → · Contrast checker → · Palette generator →

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