#3D7D18#3D7D18

#3D7D18 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.146 H 136.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3D7D18
RGBrgb(61, 125, 24)
HSLhsl(98, 68%, 29%)
HSVhsv(98, 81%, 49%)
CMYKcmyk(51.2%, 0%, 80.8%, 51%)
CIE-LABlab(46.61, -38.47, 44.95)
CIE-LCHlch(46.61, 59.16, 130.55°)
OKLaboklab(52.7% -0.1069 0.1)
OKLCHoklch(52.7% 0.146 136.9)
XYZxyz(9.4227, 15.7246, 3.4026)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7D18 #58187D
analogous
#707D18 #3D7D18 #187D26
triadic
#3D7D18 #183D7D #7D183D
tetradic
#3D7D18 #18707D #58187D #7D2618
square
#3D7D18 #18707D #58187D #7D2618
split-complementary
#3D7D18 #26187D #7D1870
monochromatic
#0D1A05 #244A0E #3D7D18 #56B022 #72D937

Accessibility & contrast

On white

5.07
#3D7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3D7D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7D18
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7D18#FFFFFF#000000##FFFFFF
##3D7D181.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#39786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3d7d18;
/* rgb */ color: rgb(61, 125, 24);
/* oklch */ color: oklch(52.7% 0.146 136.9);
Tailwind
colors: {
  custom: {
    50: '#7aa35e',
    500: '#3d7d18',
    950: '#000000',
  },
}
SCSS
$custom: #3d7d18;
$custom-light: #7aa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7d18",
  "rgb": {
    "r": 61,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 98.02,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.14633,
    "h": 136.9
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#3D7D18
secondary
#883FB2
accent
#3DEBAB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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