#3D8418#3D8418

#3D8418 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.6% C 0.155 H 137.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3D8418
RGBrgb(61, 132, 24)
HSLhsl(99, 69%, 31%)
HSVhsv(99, 82%, 52%)
CMYKcmyk(53.8%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.96, -41.30, 47.17)
CIE-LCHlch(48.96, 62.69, 131.21°)
OKLaboklab(54.63% -0.1145 0.1046)
OKLCHoklch(54.63% 0.155 137.6)
XYZxyz(10.3403, 17.5598, 3.7085)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8418 #5F1884
analogous
#738418 #3D8418 #188429
triadic
#3D8418 #183D84 #84183D
tetradic
#3D8418 #187384 #5F1884 #842918
square
#3D8418 #187384 #5F1884 #842918
split-complementary
#3D8418 #291884 #841873
monochromatic
#0D1C05 #25500F #3D8418 #55B821 #72DB3B

Accessibility & contrast

On white

4.65
#3D8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3D8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8418
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8418#FFFFFF#000000##FFFFFF
##3D84181.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#387F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d8418;
/* rgb */ color: rgb(61, 132, 24);
/* oklch */ color: oklch(54.6% 0.155 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ba85f',
    500: '#3d8418',
    950: '#000000',
  },
}
SCSS
$custom: #3d8418;
$custom-light: #7ba85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8418",
  "rgb": {
    "r": 61,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 99.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5463,
    "c": 0.15507,
    "h": 137.6
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

primary
#3D8418
secondary
#8F40B8
accent
#3CECB0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3D8418

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

Preview Lab → · Contrast checker → · Palette generator →

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