#3C8317#3C8317

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

Color values

HEX#3C8317
RGBrgb(60, 131, 23)
HSLhsl(99, 70%, 30%)
HSVhsv(99, 82%, 51%)
CMYKcmyk(54.2%, 0%, 82.4%, 48.6%)
CIE-LABlab(48.58, -41.26, 47.11)
CIE-LCHlch(48.58, 62.63, 131.21°)
OKLaboklab(54.31% -0.1144 0.1043)
OKLCHoklch(54.31% 0.155 137.6)
XYZxyz(10.1341, 17.2543, 3.6068)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8317 #5E1783
analogous
#728317 #3C8317 #178328
triadic
#3C8317 #173C83 #83173C
tetradic
#3C8317 #177283 #5E1783 #832817
square
#3C8317 #177283 #5E1783 #832817
split-complementary
#3C8317 #281783 #831772
monochromatic
#0C1B05 #244F0E #3C8317 #54B720 #70DC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C8317#FFFFFF#000000##FFFFFF
##3C83171.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)
#877700
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#377E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3c8317;
/* rgb */ color: rgb(60, 131, 23);
/* oklch */ color: oklch(54.3% 0.155 137.6);
Tailwind
colors: {
  custom: {
    50: '#7aa85e',
    500: '#3c8317',
    950: '#000000',
  },
}
SCSS
$custom: #3c8317;
$custom-light: #7aa85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8317",
  "rgb": {
    "r": 60,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 99.444,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54306,
    "c": 0.15482,
    "h": 137.6
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#3C8317
secondary
#8E3FB7
accent
#3BEDB0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C8317

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

Preview Lab → · Contrast checker → · Palette generator →

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