#3C791B#3C791B

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

Color values

HEX#3C791B
RGBrgb(60, 121, 27)
HSLhsl(99, 64%, 29%)
HSVhsv(99, 78%, 47%)
CMYKcmyk(50.4%, 0%, 77.7%, 52.5%)
CIE-LABlab(45.24, -36.93, 42.56)
CIE-LCHlch(45.24, 56.35, 130.95°)
OKLaboklab(51.56% -0.1025 0.0954)
OKLCHoklch(51.56% 0.14 137)
XYZxyz(8.8984, 14.7139, 3.4079)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C791B #581B79
analogous
#6B791B #3C791B #1B7929
triadic
#3C791B #1B3C79 #791B3C
tetradic
#3C791B #1B6B79 #581B79 #79291B
square
#3C791B #1B6B79 #581B79 #79291B
split-complementary
#3C791B #291B79 #791B6B
monochromatic
#0C1906 #234710 #3C791B #55AB26 #71D33B

Accessibility & contrast

On white

5.33
#3C791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3C791B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C791B#FFFFFF#000000##FFFFFF
##3C791B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c791b;
/* rgb */ color: rgb(60, 121, 27);
/* oklch */ color: oklch(51.6% 0.140 137.0);
Tailwind
colors: {
  custom: {
    50: '#78a05f',
    500: '#3c791b',
    950: '#000000',
  },
}
SCSS
$custom: #3c791b;
$custom-light: #78a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c791b",
  "rgb": {
    "r": 60,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 98.936,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51564,
    "c": 0.14003,
    "h": 137
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#3C791B
secondary
#8843AD
accent
#41E7AD
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3C791B

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

Preview Lab → · Contrast checker → · Palette generator →

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