#3C8318#3C8318

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

Color values

HEX#3C8318
RGBrgb(60, 131, 24)
HSLhsl(100, 69%, 30%)
HSVhsv(100, 82%, 51%)
CMYKcmyk(54.2%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.58, -41.21, 46.80)
CIE-LCHlch(48.58, 62.36, 131.36°)
OKLaboklab(54.31% -0.1142 0.1038)
OKLCHoklch(54.31% 0.154 137.7)
XYZxyz(10.1443, 17.2584, 3.6606)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8318 #5F1883
analogous
#718318 #3C8318 #188329
triadic
#3C8318 #183C83 #83183C
tetradic
#3C8318 #187183 #5F1883 #832918
square
#3C8318 #187183 #5F1883 #832918
split-complementary
#3C8318 #291883 #831871
monochromatic
#0D1C05 #244F0F #3C8318 #54B721 #70DB3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C8318#FFFFFF#000000##FFFFFF
##3C83181.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: #3c8318;
/* rgb */ color: rgb(60, 131, 24);
/* oklch */ color: oklch(54.3% 0.154 137.7);
Tailwind
colors: {
  custom: {
    50: '#7aa85f',
    500: '#3c8318',
    950: '#000000',
  },
}
SCSS
$custom: #3c8318;
$custom-light: #7aa85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8318",
  "rgb": {
    "r": 60,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 99.813,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.15433,
    "h": 137.7
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#3C8318
secondary
#8F40B7
accent
#3CECB1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C8318

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

Preview Lab → · Contrast checker → · Palette generator →

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