#3D7018#3D7018

#3D7018 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.1% C 0.129 H 135.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3D7018
RGBrgb(61, 112, 24)
HSLhsl(95, 65%, 27%)
HSVhsv(95, 79%, 44%)
CMYKcmyk(45.5%, 0%, 78.6%, 56.1%)
CIE-LABlab(42.22, -32.92, 40.73)
CIE-LCHlch(42.22, 52.37, 128.94°)
OKLaboklab(49.09% -0.0919 0.0911)
OKLCHoklch(49.09% 0.129 135.3)
XYZxyz(7.8833, 12.6459, 2.8895)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7018 #4B1870
analogous
#697018 #3D7018 #18701F
triadic
#3D7018 #183D70 #70183D
tetradic
#3D7018 #186970 #4B1870 #701F18
square
#3D7018 #186970 #4B1870 #701F18
split-complementary
#3D7018 #1F1870 #701869
monochromatic
#0E1905 #223E0D #3D7018 #58A223 #74D330

Accessibility & contrast

On white

5.95
#3D7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3D7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7018
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7018#FFFFFF#000000##FFFFFF
##3D70181.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#3C6C5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d7018;
/* rgb */ color: rgb(61, 112, 24);
/* oklch */ color: oklch(49.1% 0.129 135.3);
Tailwind
colors: {
  custom: {
    50: '#78995c',
    500: '#3d7018',
    950: '#000000',
  },
}
SCSS
$custom: #3d7018;
$custom-light: #78995c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7018",
  "rgb": {
    "r": 61,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 94.773,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49094,
    "c": 0.12944,
    "h": 135.3
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#3D7018
secondary
#7A3EA5
accent
#40E8A1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3D7018

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

Preview Lab → · Contrast checker → · Palette generator →

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