#3B7417#3B7417

#3B7417 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.1% C 0.136 H 136.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3B7417
RGBrgb(59, 116, 23)
HSLhsl(97, 67%, 27%)
HSVhsv(97, 80%, 45%)
CMYKcmyk(49.1%, 0%, 80.2%, 54.5%)
CIE-LABlab(43.48, -35.42, 42.28)
CIE-LCHlch(43.48, 55.15, 129.95°)
OKLaboklab(50.1% -0.0986 0.0942)
OKLCHoklch(50.1% 0.136 136.3)
XYZxyz(8.2035, 13.4819, 2.9804)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7417 #501774
analogous
#6A7417 #3B7417 #177422
triadic
#3B7417 #173B74 #74173B
tetradic
#3B7417 #176A74 #501774 #742217
square
#3B7417 #176A74 #501774 #742217
split-complementary
#3B7417 #221774 #74176A
monochromatic
#0D1A05 #21410D #3B7417 #55A721 #70D630

Accessibility & contrast

On white

5.68
#3B7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3B7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7417
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7417#FFFFFF#000000##FFFFFF
##3B74171.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A01
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#386F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3b7417;
/* rgb */ color: rgb(59, 116, 23);
/* oklch */ color: oklch(50.1% 0.136 136.3);
Tailwind
colors: {
  custom: {
    50: '#779c5c',
    500: '#3b7417',
    950: '#000000',
  },
}
SCSS
$custom: #3b7417;
$custom-light: #779c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7417",
  "rgb": {
    "r": 59,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 96.774,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50098,
    "c": 0.13639,
    "h": 136.3
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#3B7417
secondary
#803DA9
accent
#3EEAA7
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7417

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

Preview Lab → · Contrast checker → · Palette generator →

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