#3D791C#3D791C

#3D791C is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.6% C 0.139 H 136.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#3D791C
RGBrgb(61, 121, 28)
HSLhsl(99, 62%, 29%)
HSVhsv(99, 77%, 47%)
CMYKcmyk(49.6%, 0%, 76.9%, 52.5%)
CIE-LABlab(45.29, -36.53, 42.25)
CIE-LCHlch(45.29, 55.85, 130.85°)
OKLaboklab(51.62% -0.1014 0.0949)
OKLCHoklch(51.62% 0.139 136.9)
XYZxyz(8.9712, 14.7501, 3.4727)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D791C #581C79
analogous
#6C791C #3D791C #1C792A
triadic
#3D791C #1C3D79 #791C3D
tetradic
#3D791C #1C6C79 #581C79 #792A1C
square
#3D791C #1C6C79 #581C79 #792A1C
split-complementary
#3D791C #2A1C79 #791C6C
monochromatic
#0D1906 #244710 #3D791C #56AB28 #72D23D

Accessibility & contrast

On white

5.32
#3D791C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3D791C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D791C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D791C#FFFFFF#000000##FFFFFF
##3D791C1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#3A7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3d791c;
/* rgb */ color: rgb(61, 121, 28);
/* oklch */ color: oklch(51.6% 0.139 136.9);
Tailwind
colors: {
  custom: {
    50: '#79a05f',
    500: '#3d791c',
    950: '#000000',
  },
}
SCSS
$custom: #3d791c;
$custom-light: #79a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d791c",
  "rgb": {
    "r": 61,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 98.71,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51619,
    "c": 0.13889,
    "h": 136.9
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#3D791C
secondary
#8844AD
accent
#42E5AC
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3D791C

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

Preview Lab → · Contrast checker → · Palette generator →

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