#3D8518#3D8518

#3D8518 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 54.9% C 0.156 H 137.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3D8518
RGBrgb(61, 133, 24)
HSLhsl(100, 69%, 31%)
HSVhsv(100, 82%, 52%)
CMYKcmyk(54.1%, 0%, 82%, 47.8%)
CIE-LABlab(49.29, -41.70, 47.48)
CIE-LCHlch(49.29, 63.19, 131.29°)
OKLaboklab(54.91% -0.1156 0.1052)
OKLCHoklch(54.91% 0.156 137.7)
XYZxyz(10.4765, 17.8323, 3.7539)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8518 #601885
analogous
#738518 #3D8518 #188529
triadic
#3D8518 #183D85 #85183D
tetradic
#3D8518 #187385 #601885 #852918
square
#3D8518 #187385 #601885 #852918
split-complementary
#3D8518 #291885 #851873
monochromatic
#0D1D05 #25510F #3D8518 #55B921 #72DC3C

Accessibility & contrast

On white

4.60
#3D8518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#3D8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8518
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8518#FFFFFF#000000##FFFFFF
##3D85181.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#388071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3d8518;
/* rgb */ color: rgb(61, 133, 24);
/* oklch */ color: oklch(54.9% 0.156 137.7);
Tailwind
colors: {
  custom: {
    50: '#7ba95f',
    500: '#3d8518',
    950: '#000000',
  },
}
SCSS
$custom: #3d8518;
$custom-light: #7ba95f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8518",
  "rgb": {
    "r": 61,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 99.633,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.15629,
    "h": 137.7
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#3D8518
secondary
#9040B9
accent
#3CECB0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3D8518

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

Preview Lab → · Contrast checker → · Palette generator →

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