#3D8218#3D8218

#3D8218 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.1% C 0.153 H 137.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3D8218
RGBrgb(61, 130, 24)
HSLhsl(99, 69%, 30%)
HSVhsv(99, 82%, 51%)
CMYKcmyk(53.1%, 0%, 81.5%, 49%)
CIE-LABlab(48.29, -40.50, 46.54)
CIE-LCHlch(48.29, 61.69, 131.03°)
OKLaboklab(54.08% -0.1123 0.1033)
OKLCHoklch(54.08% 0.153 137.4)
XYZxyz(10.0716, 17.0226, 3.6189)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8218 #5D1882
analogous
#728218 #3D8218 #188228
triadic
#3D8218 #183D82 #82183D
tetradic
#3D8218 #187282 #5D1882 #822818
square
#3D8218 #187282 #5D1882 #822818
split-complementary
#3D8218 #281882 #821872
monochromatic
#0D1B05 #254E0E #3D8218 #55B622 #72DB3A

Accessibility & contrast

On white

4.77
#3D8218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3D8218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8218
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8218#FFFFFF#000000##FFFFFF
##3D82181.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#387D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3d8218;
/* rgb */ color: rgb(61, 130, 24);
/* oklch */ color: oklch(54.1% 0.153 137.4);
Tailwind
colors: {
  custom: {
    50: '#7aa75f',
    500: '#3d8218',
    950: '#000000',
  },
}
SCSS
$custom: #3d8218;
$custom-light: #7aa75f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8218",
  "rgb": {
    "r": 61,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 99.057,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.15259,
    "h": 137.4
  },
  "luminance": 0.17023
}

Semantic roles & 50–950 ramp

primary
#3D8218
secondary
#8D40B6
accent
#3CECAE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8218

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

Preview Lab → · Contrast checker → · Palette generator →

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