#3D7217#3D7217

#3D7217 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.6% C 0.133 H 135.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3D7217
RGBrgb(61, 114, 23)
HSLhsl(95, 66%, 27%)
HSVhsv(95, 80%, 45%)
CMYKcmyk(46.5%, 0%, 79.8%, 55.3%)
CIE-LABlab(42.90, -33.86, 41.75)
CIE-LCHlch(42.90, 53.75, 129.05°)
OKLaboklab(49.64% -0.0946 0.0931)
OKLCHoklch(49.64% 0.133 135.5)
XYZxyz(8.0962, 13.0881, 2.9101)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7217 #4C1772
analogous
#6B7217 #3D7217 #17721F
triadic
#3D7217 #173D72 #72173D
tetradic
#3D7217 #176B72 #4C1772 #721F17
square
#3D7217 #176B72 #4C1772 #721F17
split-complementary
#3D7217 #1F1772 #72176B
monochromatic
#0E1905 #223F0D #3D7217 #58A521 #74D52E

Accessibility & contrast

On white

5.80
#3D7217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3D7217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7217
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7217#FFFFFF#000000##FFFFFF
##3D72171.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766802
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#3B6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d7217;
/* rgb */ color: rgb(61, 114, 23);
/* oklch */ color: oklch(49.6% 0.133 135.5);
Tailwind
colors: {
  custom: {
    50: '#789b5c',
    500: '#3d7217',
    950: '#000000',
  },
}
SCSS
$custom: #3d7217;
$custom-light: #789b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7217",
  "rgb": {
    "r": 61,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 94.945,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49643,
    "c": 0.13269,
    "h": 135.5
  },
  "luminance": 0.13089
}

Semantic roles & 50–950 ramp

primary
#3D7217
secondary
#7B3DA8
accent
#3EE9A2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3D7217

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

Preview Lab → · Contrast checker → · Palette generator →

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