#3D8018#3D8018

#3D8018 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.5% C 0.150 H 137.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3D8018
RGBrgb(61, 128, 24)
HSLhsl(99, 68%, 30%)
HSVhsv(99, 81%, 50%)
CMYKcmyk(52.3%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.62, -39.69, 45.91)
CIE-LCHlch(47.62, 60.69, 130.85°)
OKLaboklab(53.53% -0.1102 0.1019)
OKLCHoklch(53.53% 0.15 137.2)
XYZxyz(9.8082, 16.4957, 3.5311)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8018 #5B1880
analogous
#718018 #3D8018 #188027
triadic
#3D8018 #183D80 #80183D
tetradic
#3D8018 #187180 #5B1880 #802718
square
#3D8018 #187180 #5B1880 #802718
split-complementary
#3D8018 #271880 #801871
monochromatic
#0C1A05 #244C0E #3D8018 #56B422 #72DA39

Accessibility & contrast

On white

4.88
#3D8018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3D8018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8018
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8018#FFFFFF#000000##FFFFFF
##3D80181.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#397B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3d8018;
/* rgb */ color: rgb(61, 128, 24);
/* oklch */ color: oklch(53.5% 0.150 137.2);
Tailwind
colors: {
  custom: {
    50: '#7aa55e',
    500: '#3d8018',
    950: '#000000',
  },
}
SCSS
$custom: #3d8018;
$custom-light: #7aa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8018",
  "rgb": {
    "r": 61,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 98.654,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53527,
    "c": 0.1501,
    "h": 137.2
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#3D8018
secondary
#8B40B4
accent
#3DEBAD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8018

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

Preview Lab → · Contrast checker → · Palette generator →

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