#3D7F17#3D7F17

#3D7F17 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.149 H 137.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3D7F17
RGBrgb(61, 127, 23)
HSLhsl(98, 69%, 29%)
HSVhsv(98, 82%, 50%)
CMYKcmyk(52%, 0%, 81.9%, 50.2%)
CIE-LABlab(47.28, -39.34, 45.91)
CIE-LCHlch(47.28, 60.46, 130.60°)
OKLaboklab(53.25% -0.1093 0.1018)
OKLCHoklch(53.25% 0.149 137)
XYZxyz(9.6682, 16.2320, 3.4341)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7F17 #59177F
analogous
#717F17 #3D7F17 #177F25
triadic
#3D7F17 #173D7F #7F173D
tetradic
#3D7F17 #17717F #59177F #7F2517
square
#3D7F17 #17717F #59177F #7F2517
split-complementary
#3D7F17 #25177F #7F1771
monochromatic
#0C1A05 #244B0E #3D7F17 #56B320 #72DB36

Accessibility & contrast

On white

4.95
#3D7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3D7F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7F17
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7F17#FFFFFF#000000##FFFFFF
##3D7F171.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837400
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#397A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3d7f17;
/* rgb */ color: rgb(61, 127, 23);
/* oklch */ color: oklch(53.2% 0.149 137.0);
Tailwind
colors: {
  custom: {
    50: '#7aa55e',
    500: '#3d7f17',
    950: '#000000',
  },
}
SCSS
$custom: #3d7f17;
$custom-light: #7aa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7f17",
  "rgb": {
    "r": 61,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 98.077,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.14936,
    "h": 137
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#3D7F17
secondary
#893EB4
accent
#3CECAC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7F17

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

Preview Lab → · Contrast checker → · Palette generator →

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