#3D7A18#3D7A18

#3D7A18 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 51.9% C 0.143 H 136.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#3D7A18
RGBrgb(61, 122, 24)
HSLhsl(97, 67%, 29%)
HSVhsv(97, 80%, 48%)
CMYKcmyk(50%, 0%, 80.3%, 52.2%)
CIE-LABlab(45.60, -37.22, 43.99)
CIE-LCHlch(45.60, 57.63, 130.23°)
OKLaboklab(51.87% -0.1035 0.0979)
OKLCHoklch(51.87% 0.143 136.6)
XYZxyz(9.0486, 14.9765, 3.2779)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7A18 #55187A
analogous
#6E7A18 #3D7A18 #187A24
triadic
#3D7A18 #183D7A #7A183D
tetradic
#3D7A18 #186E7A #55187A #7A2418
square
#3D7A18 #186E7A #55187A #7A2418
split-complementary
#3D7A18 #24187A #7A186E
monochromatic
#0D1A05 #23470E #3D7A18 #57AD22 #72D735

Accessibility & contrast

On white

5.26
#3D7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#3D7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7A18
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7A18#FFFFFF#000000##FFFFFF
##3D7A181.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#3A7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3d7a18;
/* rgb */ color: rgb(61, 122, 24);
/* oklch */ color: oklch(51.9% 0.143 136.6);
Tailwind
colors: {
  custom: {
    50: '#79a15d',
    500: '#3d7a18',
    950: '#000000',
  },
}
SCSS
$custom: #3d7a18;
$custom-light: #79a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7a18",
  "rgb": {
    "r": 61,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 97.347,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.14252,
    "h": 136.6
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#3D7A18
secondary
#853FAF
accent
#3EEAA9
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3D7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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