#3D7C18#3D7C18

#3D7C18 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.4% C 0.145 H 136.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#3D7C18
RGBrgb(61, 124, 24)
HSLhsl(98, 68%, 29%)
HSVhsv(98, 81%, 49%)
CMYKcmyk(50.8%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.27, -38.05, 44.63)
CIE-LCHlch(46.27, 58.65, 130.45°)
OKLaboklab(52.42% -0.1058 0.0993)
OKLCHoklch(52.42% 0.145 136.8)
XYZxyz(9.2967, 15.4727, 3.3606)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7C18 #57187C
analogous
#6F7C18 #3D7C18 #187C25
triadic
#3D7C18 #183D7C #7C183D
tetradic
#3D7C18 #186F7C #57187C #7C2518
square
#3D7C18 #186F7C #57187C #7C2518
split-complementary
#3D7C18 #25187C #7C186F
monochromatic
#0D1A05 #24490E #3D7C18 #56AF22 #72D836

Accessibility & contrast

On white

5.13
#3D7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#3D7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7C18
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7C18#FFFFFF#000000##FFFFFF
##3D7C181.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#397769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3d7c18;
/* rgb */ color: rgb(61, 124, 24);
/* oklch */ color: oklch(52.4% 0.145 136.8);
Tailwind
colors: {
  custom: {
    50: '#79a25e',
    500: '#3d7c18',
    950: '#000000',
  },
}
SCSS
$custom: #3d7c18;
$custom-light: #79a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7c18",
  "rgb": {
    "r": 61,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 97.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.14506,
    "h": 136.8
  },
  "luminance": 0.15473
}

Semantic roles & 50–950 ramp

primary
#3D7C18
secondary
#873FB1
accent
#3DEAAA
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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