#3C7213#3C7213

#3C7213 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.135 H 135.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3C7213
RGBrgb(60, 114, 19)
HSLhsl(94, 71%, 26%)
HSVhsv(94, 83%, 45%)
CMYKcmyk(47.4%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.83, -34.46, 43.02)
CIE-LCHlch(42.83, 55.12, 128.69°)
OKLaboklab(49.57% -0.0964 0.0951)
OKLCHoklch(49.57% 0.135 135.4)
XYZxyz(7.9981, 13.0418, 2.7118)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7213 #491372
analogous
#6B7213 #3C7213 #137219
triadic
#3C7213 #133C72 #72133C
tetradic
#3C7213 #136B72 #491372 #721913
square
#3C7213 #136B72 #491372 #721913
split-complementary
#3C7213 #191372 #72136B
monochromatic
#0E1A04 #203E0A #3C7213 #58A61C #73DB25

Accessibility & contrast

On white

5.82
#3C7213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3C7213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7213
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7213#FFFFFF#000000##FFFFFF
##3C72131.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F641E
Tritanopia (blue-blind)
#3A6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3c7213;
/* rgb */ color: rgb(60, 114, 19);
/* oklch */ color: oklch(49.6% 0.135 135.4);
Tailwind
colors: {
  custom: {
    50: '#789b5a',
    500: '#3c7213',
    950: '#000000',
  },
}
SCSS
$custom: #3c7213;
$custom-light: #789b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7213",
  "rgb": {
    "r": 60,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 94.105,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49566,
    "c": 0.1354,
    "h": 135.4
  },
  "luminance": 0.13042
}

Semantic roles & 50–950 ramp

primary
#3C7213
secondary
#7838A9
accent
#3AEEA0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7213

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

Preview Lab → · Contrast checker → · Palette generator →

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