#3D7A19#3D7A19

#3D7A19 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 51.9% C 0.142 H 136.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3D7A19
RGBrgb(61, 122, 25)
HSLhsl(98, 66%, 29%)
HSVhsv(98, 80%, 48%)
CMYKcmyk(50%, 0%, 79.5%, 52.2%)
CIE-LABlab(45.61, -37.16, 43.65)
CIE-LCHlch(45.61, 57.32, 130.40°)
OKLaboklab(51.87% -0.1033 0.0974)
OKLCHoklch(51.87% 0.142 136.7)
XYZxyz(9.0592, 14.9807, 3.3337)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7A19 #56197A
analogous
#6E7A19 #3D7A19 #197A26
triadic
#3D7A19 #193D7A #7A193D
tetradic
#3D7A19 #196E7A #56197A #7A2619
square
#3D7A19 #196E7A #56197A #7A2619
split-complementary
#3D7A19 #26197A #7A196E
monochromatic
#0D1905 #24470F #3D7A19 #56AD23 #72D637

Accessibility & contrast

On white

5.25
#3D7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#3D7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7A19
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7A19#FFFFFF#000000##FFFFFF
##3D7A191.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#3A7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3d7a19;
/* rgb */ color: rgb(61, 122, 25);
/* oklch */ color: oklch(51.9% 0.142 136.7);
Tailwind
colors: {
  custom: {
    50: '#79a15e',
    500: '#3d7a19',
    950: '#000000',
  },
}
SCSS
$custom: #3d7a19;
$custom-light: #79a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7a19",
  "rgb": {
    "r": 61,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 97.732,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.14196,
    "h": 136.7
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

primary
#3D7A19
secondary
#8640AF
accent
#3FE9AA
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3D7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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