#3D781C#3D781C

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

Color values

HEX#3D781C
RGBrgb(61, 120, 28)
HSLhsl(98, 62%, 29%)
HSVhsv(98, 77%, 47%)
CMYKcmyk(49.2%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.95, -36.10, 41.91)
CIE-LCHlch(44.95, 55.32, 130.74°)
OKLaboklab(51.34% -0.1003 0.0942)
OKLCHoklch(51.34% 0.138 136.8)
XYZxyz(8.8503, 14.5083, 3.4324)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D781C #571C78
analogous
#6B781C #3D781C #1C7829
triadic
#3D781C #1C3D78 #781C3D
tetradic
#3D781C #1C6B78 #571C78 #78291C
square
#3D781C #1C6B78 #571C78 #78291C
split-complementary
#3D781C #291C78 #781C6B
monochromatic
#0D1906 #244610 #3D781C #56AA28 #72D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D781C#FFFFFF#000000##FFFFFF
##3D781C1.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)
#7C6D0A
Deuteranopia (green-blind)
#746925
Tritanopia (blue-blind)
#3A7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3d781c;
/* rgb */ color: rgb(61, 120, 28);
/* oklch */ color: oklch(51.3% 0.138 136.8);
Tailwind
colors: {
  custom: {
    50: '#799f5f',
    500: '#3d781c',
    950: '#000000',
  },
}
SCSS
$custom: #3d781c;
$custom-light: #799f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d781c",
  "rgb": {
    "r": 61,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 98.478,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51342,
    "c": 0.13758,
    "h": 136.8
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#3D781C
secondary
#8744AC
accent
#43E5AB
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3D781C

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

Preview Lab → · Contrast checker → · Palette generator →

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