#3D8318#3D8318

#3D8318 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.4% C 0.154 H 137.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3D8318
RGBrgb(61, 131, 24)
HSLhsl(99, 69%, 30%)
HSVhsv(99, 82%, 51%)
CMYKcmyk(53.4%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.62, -40.90, 46.85)
CIE-LCHlch(48.62, 62.19, 131.12°)
OKLaboklab(54.36% -0.1134 0.1039)
OKLCHoklch(54.36% 0.154 137.5)
XYZxyz(10.2053, 17.2899, 3.6635)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8318 #5E1883
analogous
#728318 #3D8318 #188328
triadic
#3D8318 #183D83 #83183D
tetradic
#3D8318 #187283 #5E1883 #832818
square
#3D8318 #187283 #5E1883 #832818
split-complementary
#3D8318 #281883 #831872
monochromatic
#0D1C05 #254F0F #3D8318 #55B721 #72DB3A

Accessibility & contrast

On white

4.71
#3D8318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3D8318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8318
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8318#FFFFFF#000000##FFFFFF
##3D83181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d8318;
/* rgb */ color: rgb(61, 131, 24);
/* oklch */ color: oklch(54.4% 0.154 137.5);
Tailwind
colors: {
  custom: {
    50: '#7aa85f',
    500: '#3d8318',
    950: '#000000',
  },
}
SCSS
$custom: #3d8318;
$custom-light: #7aa85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8318",
  "rgb": {
    "r": 61,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 99.252,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54355,
    "c": 0.15384,
    "h": 137.5
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#3D8318
secondary
#8E40B7
accent
#3CECAF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8318

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

Preview Lab → · Contrast checker → · Palette generator →

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