#3D8915#3D8915

#3D8915 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.0% C 0.163 H 137.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3D8915
RGBrgb(61, 137, 21)
HSLhsl(99, 73%, 31%)
HSVhsv(99, 85%, 54%)
CMYKcmyk(55.5%, 0%, 84.7%, 46.3%)
CIE-LABlab(50.61, -43.43, 49.58)
CIE-LCHlch(50.61, 65.91, 131.21°)
OKLaboklab(55.99% -0.1204 0.1092)
OKLCHoklch(55.99% 0.163 137.8)
XYZxyz(11.0051, 18.9367, 3.7845)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8915 #611589
analogous
#778915 #3D8915 #158927
triadic
#3D8915 #153D89 #89153D
tetradic
#3D8915 #157789 #611589 #892715
square
#3D8915 #157789 #611589 #892715
split-complementary
#3D8915 #271589 #891577
monochromatic
#0E1F05 #25540D #3D8915 #55BE1D #72E038

Accessibility & contrast

On white

4.39
#3D8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#3D8915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D8915
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8915#FFFFFF#000000##000000
##3D89151.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#378474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3d8915;
/* rgb */ color: rgb(61, 137, 21);
/* oklch */ color: oklch(56.0% 0.163 137.8);
Tailwind
colors: {
  custom: {
    50: '#7cac5f',
    500: '#3d8915',
    950: '#000000',
  },
}
SCSS
$custom: #3d8915;
$custom-light: #7cac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8915",
  "rgb": {
    "r": 61,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 99.31,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.16251,
    "h": 137.8
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#3D8915
secondary
#913DBD
accent
#38F0B1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3D8915

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

Preview Lab → · Contrast checker → · Palette generator →

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