#3D781A#3D781A

#3D781A is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.3% C 0.139 H 136.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3D781A
RGBrgb(61, 120, 26)
HSLhsl(98, 64%, 29%)
HSVhsv(98, 78%, 47%)
CMYKcmyk(49.2%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.94, -36.25, 42.65)
CIE-LCHlch(44.94, 55.97, 130.36°)
OKLaboklab(51.33% -0.1008 0.0954)
OKLCHoklch(51.33% 0.139 136.6)
XYZxyz(8.8271, 14.4990, 3.3105)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D781A #551A78
analogous
#6C781A #3D781A #1A7826
triadic
#3D781A #1A3D78 #781A3D
tetradic
#3D781A #1A6C78 #551A78 #78261A
square
#3D781A #1A6C78 #551A78 #78261A
split-complementary
#3D781A #261A78 #781A6C
monochromatic
#0D1905 #23460F #3D781A #57AA25 #72D438

Accessibility & contrast

On white

5.38
#3D781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3D781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D781A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D781A#FFFFFF#000000##FFFFFF
##3D781A1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#3A7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3d781a;
/* rgb */ color: rgb(61, 120, 26);
/* oklch */ color: oklch(51.3% 0.139 136.6);
Tailwind
colors: {
  custom: {
    50: '#799f5e',
    500: '#3d781a',
    950: '#000000',
  },
}
SCSS
$custom: #3d781a;
$custom-light: #799f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d781a",
  "rgb": {
    "r": 61,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 97.66,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.1388,
    "h": 136.6
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#3D781A
secondary
#8541AC
accent
#40E7A9
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3D781A

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

Preview Lab → · Contrast checker → · Palette generator →

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