#3D7816#3D7816

#3D7816 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.3% C 0.141 H 136.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#3D7816
RGBrgb(61, 120, 22)
HSLhsl(96, 69%, 28%)
HSVhsv(96, 82%, 47%)
CMYKcmyk(49.2%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.92, -36.50, 44.02)
CIE-LCHlch(44.92, 57.18, 129.67°)
OKLaboklab(51.3% -0.1017 0.0977)
OKLCHoklch(51.3% 0.141 136.2)
XYZxyz(8.7855, 14.4824, 3.0913)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7816 #511678
analogous
#6E7816 #3D7816 #167820
triadic
#3D7816 #163D78 #78163D
tetradic
#3D7816 #166E78 #511678 #782016
square
#3D7816 #166E78 #511678 #782016
split-complementary
#3D7816 #201678 #78166E
monochromatic
#0D1A05 #23440D #3D7816 #57AC1F #73D92F

Accessibility & contrast

On white

5.39
#3D7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3D7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7816
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7816#FFFFFF#000000##FFFFFF
##3D78161.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#3A7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3d7816;
/* rgb */ color: rgb(61, 120, 22);
/* oklch */ color: oklch(51.3% 0.141 136.2);
Tailwind
colors: {
  custom: {
    50: '#799f5c',
    500: '#3d7816',
    950: '#000000',
  },
}
SCSS
$custom: #3d7816;
$custom-light: #799f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7816",
  "rgb": {
    "r": 61,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 96.122,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.14103,
    "h": 136.2
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#3D7816
secondary
#803CAD
accent
#3CECA6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3D7816

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

Preview Lab → · Contrast checker → · Palette generator →

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