#3D8817#3D8817

#3D8817 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.7% C 0.160 H 137.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3D8817
RGBrgb(61, 136, 23)
HSLhsl(100, 71%, 31%)
HSVhsv(100, 83%, 53%)
CMYKcmyk(55.1%, 0%, 83.1%, 46.7%)
CIE-LABlab(50.29, -42.93, 48.71)
CIE-LCHlch(50.29, 64.93, 131.39°)
OKLaboklab(55.73% -0.1189 0.1077)
OKLCHoklch(55.73% 0.16 137.8)
XYZxyz(10.8829, 18.6614, 3.8390)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8817 #621788
analogous
#758817 #3D8817 #178829
triadic
#3D8817 #173D88 #88173D
tetradic
#3D8817 #177588 #621788 #882917
square
#3D8817 #177588 #621788 #882917
split-complementary
#3D8817 #291788 #881775
monochromatic
#0E1F05 #26540E #3D8817 #54BC20 #72DE3B

Accessibility & contrast

On white

4.44
#3D8817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#3D8817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D8817
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8817#FFFFFF#000000##000000
##3D88171.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7B00
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#378374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3d8817;
/* rgb */ color: rgb(61, 136, 23);
/* oklch */ color: oklch(55.7% 0.160 137.8);
Tailwind
colors: {
  custom: {
    50: '#7bab5f',
    500: '#3d8817',
    950: '#000000',
  },
}
SCSS
$custom: #3d8817;
$custom-light: #7bab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8817",
  "rgb": {
    "r": 61,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 99.823,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55726,
    "c": 0.16043,
    "h": 137.8
  },
  "luminance": 0.18662
}

Semantic roles & 50–950 ramp

primary
#3D8817
secondary
#923FBC
accent
#3AEEB1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3D8817

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

Preview Lab → · Contrast checker → · Palette generator →

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