#3D771C#3D771C

#3D771C is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.1% C 0.136 H 136.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3D771C
RGBrgb(61, 119, 28)
HSLhsl(98, 62%, 29%)
HSVhsv(98, 76%, 47%)
CMYKcmyk(48.7%, 0%, 76.5%, 53.3%)
CIE-LABlab(44.62, -35.68, 41.58)
CIE-LCHlch(44.62, 54.79, 130.63°)
OKLaboklab(51.07% -0.0991 0.0935)
OKLCHoklch(51.07% 0.136 136.7)
XYZxyz(8.7306, 14.2690, 3.3925)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D771C #561C77
analogous
#6B771C #3D771C #1C7729
triadic
#3D771C #1C3D77 #771C3D
tetradic
#3D771C #1C6B77 #561C77 #77291C
square
#3D771C #1C6B77 #561C77 #77291C
split-complementary
#3D771C #291C77 #771C6B
monochromatic
#0D1906 #244510 #3D771C #56A928 #72D13C

Accessibility & contrast

On white

5.45
#3D771C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#3D771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D771C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D771C#FFFFFF#000000##FFFFFF
##3D771C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0A
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#3A7265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3d771c;
/* rgb */ color: rgb(61, 119, 28);
/* oklch */ color: oklch(51.1% 0.136 136.7);
Tailwind
colors: {
  custom: {
    50: '#789f5f',
    500: '#3d771c',
    950: '#000000',
  },
}
SCSS
$custom: #3d771c;
$custom-light: #789f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d771c",
  "rgb": {
    "r": 61,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 98.242,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.13626,
    "h": 136.7
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#3D771C
secondary
#8644AB
accent
#43E5AA
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3D771C

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

Preview Lab → · Contrast checker → · Palette generator →

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