#3D7B17#3D7B17

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

Color values

HEX#3D7B17
RGBrgb(61, 123, 23)
HSLhsl(97, 68%, 29%)
HSVhsv(97, 81%, 48%)
CMYKcmyk(50.4%, 0%, 81.3%, 51.8%)
CIE-LABlab(45.93, -37.70, 44.64)
CIE-LCHlch(45.93, 58.43, 130.18°)
OKLaboklab(52.14% -0.1049 0.0991)
OKLCHoklch(52.14% 0.144 136.6)
XYZxyz(9.1618, 15.2193, 3.2653)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7B17 #55177B
analogous
#6F7B17 #3D7B17 #177B23
triadic
#3D7B17 #173D7B #7B173D
tetradic
#3D7B17 #176F7B #55177B #7B2317
square
#3D7B17 #176F7B #55177B #7B2317
split-complementary
#3D7B17 #23177B #7B176F
monochromatic
#0D1A05 #23470D #3D7B17 #57AF21 #72D933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D7B17#FFFFFF#000000##FFFFFF
##3D7B171.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: #3d7b17;
/* rgb */ color: rgb(61, 123, 23);
/* oklch */ color: oklch(52.1% 0.144 136.6);
Tailwind
colors: {
  custom: {
    50: '#79a25d',
    500: '#3d7b17',
    950: '#000000',
  },
}
SCSS
$custom: #3d7b17;
$custom-light: #79a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7b17",
  "rgb": {
    "r": 61,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 97.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.14433,
    "h": 136.6
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#3D7B17
secondary
#853EB0
accent
#3CEBA9
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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