#3D7B15#3D7B15

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

Color values

HEX#3D7B15
RGBrgb(61, 123, 21)
HSLhsl(96, 71%, 28%)
HSVhsv(96, 83%, 48%)
CMYKcmyk(50.4%, 0%, 82.9%, 51.8%)
CIE-LABlab(45.92, -37.81, 45.28)
CIE-LCHlch(45.92, 58.99, 129.87°)
OKLaboklab(52.13% -0.1053 0.1002)
OKLCHoklch(52.13% 0.145 136.4)
XYZxyz(9.1425, 15.2115, 3.1637)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7B15 #53157B
analogous
#707B15 #3D7B15 #157B20
triadic
#3D7B15 #153D7B #7B153D
tetradic
#3D7B15 #15707B #53157B #7B2015
square
#3D7B15 #15707B #53157B #7B2015
split-complementary
#3D7B15 #20157B #7B1570
monochromatic
#0D1A04 #23470C #3D7B15 #57AF1E #73DB2F

Accessibility & contrast

On white

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

On black

4.04
#3D7B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3D7B15#FFFFFF#000000##FFFFFF
##3D7B151.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#3A7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3d7b15;
/* rgb */ color: rgb(61, 123, 21);
/* oklch */ color: oklch(52.1% 0.145 136.4);
Tailwind
colors: {
  custom: {
    50: '#79a25c',
    500: '#3d7b15',
    950: '#000000',
  },
}
SCSS
$custom: #3d7b15;
$custom-light: #79a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7b15",
  "rgb": {
    "r": 61,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 96.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.14534,
    "h": 136.4
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#3D7B15
secondary
#833BB0
accent
#3AEEA7
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3D7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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