#3D8A15#3D8A15

#3D8A15 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.3% C 0.164 H 137.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3D8A15
RGBrgb(61, 138, 21)
HSLhsl(99, 74%, 31%)
HSVhsv(99, 85%, 54%)
CMYKcmyk(55.8%, 0%, 84.8%, 45.9%)
CIE-LABlab(50.95, -43.81, 49.88)
CIE-LCHlch(50.95, 66.39, 131.29°)
OKLaboklab(56.27% -0.1214 0.1098)
OKLCHoklch(56.27% 0.164 137.9)
XYZxyz(11.1479, 19.2223, 3.8321)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8A15 #62158A
analogous
#778A15 #3D8A15 #158A27
triadic
#3D8A15 #153D8A #8A153D
tetradic
#3D8A15 #15778A #62158A #8A2715
square
#3D8A15 #15778A #62158A #8A2715
split-complementary
#3D8A15 #27158A #8A1577
monochromatic
#0E2005 #26550D #3D8A15 #54BF1D #72E139

Accessibility & contrast

On white

4.33
#3D8A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3D8A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D8A15
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8A15#FFFFFF#000000##000000
##3D8A151.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#378575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3d8a15;
/* rgb */ color: rgb(61, 138, 21);
/* oklch */ color: oklch(56.3% 0.164 137.9);
Tailwind
colors: {
  custom: {
    50: '#7cad5f',
    500: '#3d8a15',
    950: '#000000',
  },
}
SCSS
$custom: #3d8a15;
$custom-light: #7cad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8a15",
  "rgb": {
    "r": 61,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 99.487,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.1637,
    "h": 137.9
  },
  "luminance": 0.19223
}

Semantic roles & 50–950 ramp

primary
#3D8A15
secondary
#923DBE
accent
#38F0B1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3D8A15

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

Preview Lab → · Contrast checker → · Palette generator →

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