#3D781B#3D781B

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

Color values

HEX#3D781B
RGBrgb(61, 120, 27)
HSLhsl(98, 63%, 29%)
HSVhsv(98, 78%, 47%)
CMYKcmyk(49.2%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.95, -36.18, 42.28)
CIE-LCHlch(44.95, 55.65, 130.55°)
OKLaboklab(51.33% -0.1005 0.0948)
OKLCHoklch(51.33% 0.138 136.7)
XYZxyz(8.8385, 14.5036, 3.3704)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D781B #561B78
analogous
#6C781B #3D781B #1B7828
triadic
#3D781B #1B3D78 #781B3D
tetradic
#3D781B #1B6C78 #561B78 #78281B
square
#3D781B #1B6C78 #561B78 #78281B
split-complementary
#3D781B #281B78 #781B6C
monochromatic
#0D1906 #244610 #3D781B #56AA26 #72D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D781B#FFFFFF#000000##FFFFFF
##3D781B1.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)
#7C6D08
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#3A7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3d781b;
/* rgb */ color: rgb(61, 120, 27);
/* oklch */ color: oklch(51.3% 0.138 136.7);
Tailwind
colors: {
  custom: {
    50: '#799f5f',
    500: '#3d781b',
    950: '#000000',
  },
}
SCSS
$custom: #3d781b;
$custom-light: #799f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d781b",
  "rgb": {
    "r": 61,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 98.065,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.13819,
    "h": 136.7
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#3D781B
secondary
#8643AC
accent
#41E6AA
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3D781B

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

Preview Lab → · Contrast checker → · Palette generator →

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