#3D7B1A#3D7B1A

#3D7B1A is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.143 H 136.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3D7B1A
RGBrgb(61, 123, 26)
HSLhsl(98, 65%, 29%)
HSVhsv(98, 79%, 48%)
CMYKcmyk(50.4%, 0%, 78.9%, 51.8%)
CIE-LABlab(45.95, -37.51, 43.63)
CIE-LCHlch(45.95, 57.54, 130.69°)
OKLaboklab(52.16% -0.1042 0.0975)
OKLCHoklch(52.16% 0.143 136.9)
XYZxyz(9.1936, 15.2320, 3.4327)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7B1A #581A7B
analogous
#6E7B1A #3D7B1A #1A7B28
triadic
#3D7B1A #1A3D7B #7B1A3D
tetradic
#3D7B1A #1A6E7B #581A7B #7B281A
square
#3D7B1A #1A6E7B #581A7B #7B281A
split-complementary
#3D7B1A #281A7B #7B1A6E
monochromatic
#0D1905 #24480F #3D7B1A #56AE25 #72D53A

Accessibility & contrast

On white

5.19
#3D7B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3D7B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7B1A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7B1A#FFFFFF#000000##FFFFFF
##3D7B1A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#397669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3d7b1a;
/* rgb */ color: rgb(61, 123, 26);
/* oklch */ color: oklch(52.2% 0.143 136.9);
Tailwind
colors: {
  custom: {
    50: '#79a25f',
    500: '#3d7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #3d7b1a;
$custom-light: #79a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7b1a",
  "rgb": {
    "r": 61,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 98.351,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52158,
    "c": 0.14268,
    "h": 136.9
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#3D7B1A
secondary
#8842AF
accent
#40E8AB
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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