#3D8017#3D8017

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

Color values

HEX#3D8017
RGBrgb(61, 128, 23)
HSLhsl(98, 70%, 30%)
HSVhsv(98, 82%, 50%)
CMYKcmyk(52.3%, 0%, 82%, 49.8%)
CIE-LABlab(47.61, -39.75, 46.22)
CIE-LCHlch(47.61, 60.97, 130.69°)
OKLaboklab(53.52% -0.1104 0.1025)
OKLCHoklch(53.52% 0.151 137.1)
XYZxyz(9.7980, 16.4916, 3.4773)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8017 #5A1780
analogous
#718017 #3D8017 #178026
triadic
#3D8017 #173D80 #80173D
tetradic
#3D8017 #177180 #5A1780 #802617
square
#3D8017 #177180 #5A1780 #802617
split-complementary
#3D8017 #261780 #801771
monochromatic
#0C1A05 #244C0E #3D8017 #56B420 #72DB36

Accessibility & contrast

On white

4.89
#3D8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3D8017
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8017#FFFFFF#000000##FFFFFF
##3D80171.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d8017;
/* rgb */ color: rgb(61, 128, 23);
/* oklch */ color: oklch(53.5% 0.151 137.1);
Tailwind
colors: {
  custom: {
    50: '#7aa55e',
    500: '#3d8017',
    950: '#000000',
  },
}
SCSS
$custom: #3d8017;
$custom-light: #7aa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8017",
  "rgb": {
    "r": 61,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 98.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53521,
    "c": 0.15061,
    "h": 137.1
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#3D8017
secondary
#8A3EB4
accent
#3BECAC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8017

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

Preview Lab → · Contrast checker → · Palette generator →

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