#3C8215#3C8215

#3C8215 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.0% C 0.155 H 137.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3C8215
RGBrgb(60, 130, 21)
HSLhsl(99, 72%, 30%)
HSVhsv(99, 84%, 51%)
CMYKcmyk(53.8%, 0%, 83.8%, 49%)
CIE-LABlab(48.23, -40.98, 47.40)
CIE-LCHlch(48.23, 62.65, 130.85°)
OKLaboklab(54.02% -0.1137 0.1046)
OKLCHoklch(54.02% 0.155 137.4)
XYZxyz(9.9811, 16.9793, 3.4607)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8215 #5B1582
analogous
#738215 #3C8215 #158225
triadic
#3C8215 #153C82 #82153C
tetradic
#3C8215 #157382 #5B1582 #822515
square
#3C8215 #157382 #5B1582 #822515
split-complementary
#3C8215 #251582 #821573
monochromatic
#0C1A04 #244D0C #3C8215 #54B71E #70DE33

Accessibility & contrast

On white

4.78
#3C8215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3C8215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C8215
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8215#FFFFFF#000000##FFFFFF
##3C82151.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7E7022
Tritanopia (blue-blind)
#377D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3c8215;
/* rgb */ color: rgb(60, 130, 21);
/* oklch */ color: oklch(54.0% 0.155 137.4);
Tailwind
colors: {
  custom: {
    50: '#7aa75d',
    500: '#3c8215',
    950: '#000000',
  },
}
SCSS
$custom: #3c8215;
$custom-light: #7aa75d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8215",
  "rgb": {
    "r": 60,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 98.532,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54018,
    "c": 0.15453,
    "h": 137.4
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C8215

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

Preview Lab → · Contrast checker → · Palette generator →

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