#3D8315#3D8315

#3D8315 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.3% C 0.155 H 137.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3D8315
RGBrgb(61, 131, 21)
HSLhsl(98, 72%, 30%)
HSVhsv(98, 84%, 51%)
CMYKcmyk(53.4%, 0%, 84%, 48.6%)
CIE-LABlab(48.61, -41.07, 47.75)
CIE-LCHlch(48.61, 62.98, 130.69°)
OKLaboklab(54.34% -0.114 0.1054)
OKLCHoklch(54.34% 0.155 137.3)
XYZxyz(10.1758, 17.2781, 3.5081)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8315 #5B1583
analogous
#748315 #3D8315 #158324
triadic
#3D8315 #153D83 #83153D
tetradic
#3D8315 #157483 #5B1583 #832415
square
#3D8315 #157483 #5B1583 #832415
split-complementary
#3D8315 #241583 #831574
monochromatic
#0C1A04 #244E0D #3D8315 #56B81D #72DE34

Accessibility & contrast

On white

4.71
#3D8315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3D8315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8315
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8315#FFFFFF#000000##FFFFFF
##3D83151.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#387E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3d8315;
/* rgb */ color: rgb(61, 131, 21);
/* oklch */ color: oklch(54.3% 0.155 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ba85e',
    500: '#3d8315',
    950: '#000000',
  },
}
SCSS
$custom: #3d8315;
$custom-light: #7ba85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8315",
  "rgb": {
    "r": 61,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 98.182,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54338,
    "c": 0.15525,
    "h": 137.3
  },
  "luminance": 0.17279
}

Semantic roles & 50–950 ramp

primary
#3D8315
secondary
#8B3CB8
accent
#39EFAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8315

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

Preview Lab → · Contrast checker → · Palette generator →

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