#3D7918#3D7918

#3D7918 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.6% C 0.141 H 136.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#3D7918
RGBrgb(61, 121, 24)
HSLhsl(97, 67%, 28%)
HSVhsv(97, 80%, 47%)
CMYKcmyk(49.6%, 0%, 80.2%, 52.5%)
CIE-LABlab(45.27, -36.80, 43.67)
CIE-LCHlch(45.27, 57.11, 130.12°)
OKLaboklab(51.59% -0.1024 0.0973)
OKLCHoklch(51.59% 0.141 136.5)
XYZxyz(8.9265, 14.7322, 3.2372)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7918 #541879
analogous
#6D7918 #3D7918 #187923
triadic
#3D7918 #183D79 #79183D
tetradic
#3D7918 #186D79 #541879 #792318
square
#3D7918 #186D79 #541879 #792318
split-complementary
#3D7918 #231879 #79186D
monochromatic
#0D1A05 #23460E #3D7918 #57AC22 #72D735

Accessibility & contrast

On white

5.32
#3D7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3D7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7918
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7918#FFFFFF#000000##FFFFFF
##3D79181.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#3A7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3d7918;
/* rgb */ color: rgb(61, 121, 24);
/* oklch */ color: oklch(51.6% 0.141 136.5);
Tailwind
colors: {
  custom: {
    50: '#79a05d',
    500: '#3d7918',
    950: '#000000',
  },
}
SCSS
$custom: #3d7918;
$custom-light: #79a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7918",
  "rgb": {
    "r": 61,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 97.113,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.14123,
    "h": 136.5
  },
  "luminance": 0.14733
}

Semantic roles & 50–950 ramp

primary
#3D7918
secondary
#843FAE
accent
#3EEAA8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3D7918

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

Preview Lab → · Contrast checker → · Palette generator →

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