#3E771B#3E771B

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

Color values

HEX#3E771B
RGBrgb(62, 119, 27)
HSLhsl(97, 63%, 29%)
HSVhsv(97, 77%, 47%)
CMYKcmyk(47.9%, 0%, 77.3%, 53.3%)
CIE-LABlab(44.66, -35.41, 42.01)
CIE-LCHlch(44.66, 54.94, 130.13°)
OKLaboklab(51.11% -0.0985 0.0943)
OKLCHoklch(51.11% 0.136 136.3)
XYZxyz(8.7810, 14.2964, 3.3335)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E771B #541B77
analogous
#6C771B #3E771B #1B7726
triadic
#3E771B #1B3E77 #771B3E
tetradic
#3E771B #1B6C77 #541B77 #77261B
square
#3E771B #1B6C77 #541B77 #77261B
split-complementary
#3E771B #261B77 #771B6C
monochromatic
#0D1906 #244510 #3E771B #58A926 #74D23A

Accessibility & contrast

On white

5.44
#3E771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#3E771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E771B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E771B#FFFFFF#000000##FFFFFF
##3E771B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D08
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#3B7265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3e771b;
/* rgb */ color: rgb(62, 119, 27);
/* oklch */ color: oklch(51.1% 0.136 136.3);
Tailwind
colors: {
  custom: {
    50: '#799f5e',
    500: '#3e771b',
    950: '#000000',
  },
}
SCSS
$custom: #3e771b;
$custom-light: #799f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e771b",
  "rgb": {
    "r": 62,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 97.174,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.13635,
    "h": 136.3
  },
  "luminance": 0.14297
}

Semantic roles & 50–950 ramp

primary
#3E771B
secondary
#8342AB
accent
#42E6A8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3E771B

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

Preview Lab → · Contrast checker → · Palette generator →

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