#3D771B#3D771B

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

Color values

HEX#3D771B
RGBrgb(61, 119, 27)
HSLhsl(98, 63%, 29%)
HSVhsv(98, 77%, 47%)
CMYKcmyk(48.7%, 0%, 77.3%, 53.3%)
CIE-LABlab(44.61, -35.75, 41.95)
CIE-LCHlch(44.61, 55.12, 130.44°)
OKLaboklab(51.06% -0.0994 0.0941)
OKLCHoklch(51.06% 0.137 136.5)
XYZxyz(8.7189, 14.2643, 3.3306)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D771B #551B77
analogous
#6B771B #3D771B #1B7727
triadic
#3D771B #1B3D77 #771B3D
tetradic
#3D771B #1B6B77 #551B77 #77271B
square
#3D771B #1B6B77 #551B77 #77271B
split-complementary
#3D771B #271B77 #771B6B
monochromatic
#0D1906 #234510 #3D771B #57A926 #72D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D771B#FFFFFF#000000##FFFFFF
##3D771B1.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)
#7B6D08
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#3A7265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3d771b;
/* rgb */ color: rgb(61, 119, 27);
/* oklch */ color: oklch(51.1% 0.137 136.5);
Tailwind
colors: {
  custom: {
    50: '#789f5e',
    500: '#3d771b',
    950: '#000000',
  },
}
SCSS
$custom: #3d771b;
$custom-light: #789f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d771b",
  "rgb": {
    "r": 61,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 97.826,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51058,
    "c": 0.13688,
    "h": 136.5
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#3D771B
secondary
#8542AB
accent
#42E6A9
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3D771B

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

Preview Lab → · Contrast checker → · Palette generator →

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