#3C751B#3C751B

#3C751B is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.5% C 0.135 H 136.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3C751B
RGBrgb(60, 117, 27)
HSLhsl(98, 63%, 28%)
HSVhsv(98, 77%, 46%)
CMYKcmyk(48.7%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.89, -35.23, 41.22)
CIE-LCHlch(43.89, 54.23, 130.52°)
OKLaboklab(50.45% -0.0979 0.0926)
OKLCHoklch(50.45% 0.135 136.6)
XYZxyz(8.4224, 13.7618, 3.2492)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C751B #541B75
analogous
#69751B #3C751B #1B7527
triadic
#3C751B #1B3C75 #751B3C
tetradic
#3C751B #1B6975 #541B75 #75271B
square
#3C751B #1B6975 #541B75 #75271B
split-complementary
#3C751B #271B75 #751B69
monochromatic
#0D1906 #224310 #3C751B #55A726 #71D139

Accessibility & contrast

On white

5.60
#3C751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3C751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C751B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C751B#FFFFFF#000000##FFFFFF
##3C751B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#397164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3c751b;
/* rgb */ color: rgb(60, 117, 27);
/* oklch */ color: oklch(50.5% 0.135 136.6);
Tailwind
colors: {
  custom: {
    50: '#789d5e',
    500: '#3c751b',
    950: '#000000',
  },
}
SCSS
$custom: #3c751b;
$custom-light: #789d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c751b",
  "rgb": {
    "r": 60,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 98,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.13478,
    "h": 136.6
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#3C751B
secondary
#8442A9
accent
#42E6AA
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3C751B

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

Preview Lab → · Contrast checker → · Palette generator →

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