#3C791D#3C791D

#3C791D is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.6% C 0.139 H 137.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#3C791D
RGBrgb(60, 121, 29)
HSLhsl(100, 61%, 29%)
HSVhsv(100, 76%, 47%)
CMYKcmyk(50.4%, 0%, 76%, 52.5%)
CIE-LABlab(45.25, -36.78, 41.81)
CIE-LCHlch(45.25, 55.69, 131.34°)
OKLaboklab(51.58% -0.1019 0.0942)
OKLCHoklch(51.58% 0.139 137.3)
XYZxyz(8.9223, 14.7235, 3.5339)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C791D #5A1D79
analogous
#6A791D #3C791D #1D792C
triadic
#3C791D #1D3C79 #791D3C
tetradic
#3C791D #1D6A79 #5A1D79 #792C1D
square
#3C791D #1D6A79 #5A1D79 #792C1D
split-complementary
#3C791D #2C1D79 #791D6A
monochromatic
#0C1906 #244811 #3C791D #54AA29 #70D13F

Accessibility & contrast

On white

5.32
#3C791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#3C791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C791D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C791D#FFFFFF#000000##FFFFFF
##3C791D1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0C
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#387467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3c791d;
/* rgb */ color: rgb(60, 121, 29);
/* oklch */ color: oklch(51.6% 0.139 137.3);
Tailwind
colors: {
  custom: {
    50: '#78a060',
    500: '#3c791d',
    950: '#000000',
  },
}
SCSS
$custom: #3c791d;
$custom-light: #78a060;
$custom-dark: #000000;
JSON
{
  "hex": "#3c791d",
  "rgb": {
    "r": 60,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 99.783,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51579,
    "c": 0.13879,
    "h": 137.3
  },
  "luminance": 0.14724
}

Semantic roles & 50–950 ramp

primary
#3C791D
secondary
#8A45AD
accent
#43E4AE
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3C791D

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

Preview Lab → · Contrast checker → · Palette generator →

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