#3A7617#3A7617

#3A7617 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.140 H 136.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#3A7617
RGBrgb(58, 118, 23)
HSLhsl(98, 67%, 28%)
HSVhsv(98, 81%, 46%)
CMYKcmyk(50.8%, 0%, 80.5%, 53.7%)
CIE-LABlab(44.11, -36.60, 42.87)
CIE-LCHlch(44.11, 56.37, 130.49°)
OKLaboklab(50.61% -0.1017 0.0955)
OKLCHoklch(50.61% 0.14 136.8)
XYZxyz(8.3778, 13.9177, 3.0554)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7617 #531776
analogous
#697617 #3A7617 #177624
triadic
#3A7617 #173A76 #76173A
tetradic
#3A7617 #176976 #531776 #762417
square
#3A7617 #176976 #531776 #762417
split-complementary
#3A7617 #241776 #761769
monochromatic
#0D1A05 #21430D #3A7617 #53A921 #6ED731

Accessibility & contrast

On white

5.55
#3A7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3A7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7617
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7617#FFFFFF#000000##FFFFFF
##3A76171.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#377164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a7617;
/* rgb */ color: rgb(58, 118, 23);
/* oklch */ color: oklch(50.6% 0.140 136.8);
Tailwind
colors: {
  custom: {
    50: '#779e5c',
    500: '#3a7617',
    950: '#000000',
  },
}
SCSS
$custom: #3a7617;
$custom-light: #779e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7617",
  "rgb": {
    "r": 58,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 97.895,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.1395,
    "h": 136.8
  },
  "luminance": 0.13918
}

Semantic roles & 50–950 ramp

primary
#3A7617
secondary
#833EAB
accent
#3EEAAB
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7617

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

Preview Lab → · Contrast checker → · Palette generator →

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