#3D7B16#3D7B16

#3D7B16 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.1% C 0.145 H 136.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3D7B16
RGBrgb(61, 123, 22)
HSLhsl(97, 70%, 28%)
HSVhsv(97, 82%, 48%)
CMYKcmyk(50.4%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.93, -37.76, 44.97)
CIE-LCHlch(45.93, 58.72, 130.02°)
OKLaboklab(52.13% -0.1051 0.0997)
OKLCHoklch(52.13% 0.145 136.5)
XYZxyz(9.1520, 15.2153, 3.2135)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7B16 #54167B
analogous
#6F7B16 #3D7B16 #167B22
triadic
#3D7B16 #163D7B #7B163D
tetradic
#3D7B16 #166F7B #54167B #7B2216
square
#3D7B16 #166F7B #54167B #7B2216
split-complementary
#3D7B16 #22167B #7B166F
monochromatic
#0D1A05 #23470D #3D7B16 #57AF1F #72DA31

Accessibility & contrast

On white

5.19
#3D7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#3D7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7B16
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7B16#FFFFFF#000000##FFFFFF
##3D7B161.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#3A7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3d7b16;
/* rgb */ color: rgb(61, 123, 22);
/* oklch */ color: oklch(52.1% 0.145 136.5);
Tailwind
colors: {
  custom: {
    50: '#79a25d',
    500: '#3d7b16',
    950: '#000000',
  },
}
SCSS
$custom: #3d7b16;
$custom-light: #79a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7b16",
  "rgb": {
    "r": 61,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 96.832,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.14485,
    "h": 136.5
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#3D7B16
secondary
#843DB0
accent
#3BECA8
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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