#3C8216#3C8216

#3C8216 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#3C8216
RGBrgb(60, 130, 22)
HSLhsl(99, 71%, 30%)
HSVhsv(99, 83%, 51%)
CMYKcmyk(53.8%, 0%, 83.1%, 49%)
CIE-LABlab(48.24, -40.92, 47.10)
CIE-LCHlch(48.24, 62.40, 130.98°)
OKLaboklab(54.02% -0.1135 0.1042)
OKLCHoklch(54.02% 0.154 137.5)
XYZxyz(9.9906, 16.9831, 3.5105)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8216 #5C1682
analogous
#728216 #3C8216 #168226
triadic
#3C8216 #163C82 #82163C
tetradic
#3C8216 #167282 #5C1682 #822616
square
#3C8216 #167282 #5C1682 #822616
split-complementary
#3C8216 #261682 #821672
monochromatic
#0C1A04 #244E0D #3C8216 #54B61F #70DD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C8216#FFFFFF#000000##FFFFFF
##3C82161.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)
#7E7023
Tritanopia (blue-blind)
#377D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3c8216;
/* rgb */ color: rgb(60, 130, 22);
/* oklch */ color: oklch(54.0% 0.154 137.5);
Tailwind
colors: {
  custom: {
    50: '#7aa75e',
    500: '#3c8216',
    950: '#000000',
  },
}
SCSS
$custom: #3c8216;
$custom-light: #7aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8216",
  "rgb": {
    "r": 60,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 98.889,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.15407,
    "h": 137.5
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

primary
#3C8216
secondary
#8C3DB7
accent
#3AEEAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C8216

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

Preview Lab → · Contrast checker → · Palette generator →

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