#3C8217#3C8217

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

Color values

HEX#3C8217
RGBrgb(60, 130, 23)
HSLhsl(99, 70%, 30%)
HSVhsv(99, 82%, 51%)
CMYKcmyk(53.8%, 0%, 82.3%, 49%)
CIE-LABlab(48.24, -40.87, 46.80)
CIE-LCHlch(48.24, 62.13, 131.13°)
OKLaboklab(54.03% -0.1133 0.1037)
OKLCHoklch(54.03% 0.154 137.5)
XYZxyz(10.0004, 16.9870, 3.5623)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8217 #5D1782
analogous
#728217 #3C8217 #178227
triadic
#3C8217 #173C82 #82173C
tetradic
#3C8217 #177282 #5D1782 #822717
square
#3C8217 #177282 #5D1782 #822717
split-complementary
#3C8217 #271782 #821772
monochromatic
#0C1A05 #244E0E #3C8217 #54B620 #70DC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C8217#FFFFFF#000000##FFFFFF
##3C82171.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)
#7D7024
Tritanopia (blue-blind)
#377D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3c8217;
/* rgb */ color: rgb(60, 130, 23);
/* oklch */ color: oklch(54.0% 0.154 137.5);
Tailwind
colors: {
  custom: {
    50: '#7aa75e',
    500: '#3c8217',
    950: '#000000',
  },
}
SCSS
$custom: #3c8217;
$custom-light: #7aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8217",
  "rgb": {
    "r": 60,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 99.252,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.15359,
    "h": 137.5
  },
  "luminance": 0.16988
}

Semantic roles & 50–950 ramp

primary
#3C8217
secondary
#8D3EB6
accent
#3BEDAF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C8217

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

Preview Lab → · Contrast checker → · Palette generator →

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