#3A6717#3A6717

#3A6717 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.4% C 0.120 H 134.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3A6717
RGBrgb(58, 103, 23)
HSLhsl(94, 63%, 25%)
HSVhsv(94, 78%, 40%)
CMYKcmyk(43.7%, 0%, 77.7%, 59.6%)
CIE-LABlab(39.00, -30.03, 37.89)
CIE-LCHlch(39.00, 48.35, 128.40°)
OKLaboklab(46.41% -0.084 0.0851)
OKLCHoklch(46.41% 0.12 134.6)
XYZxyz(6.7497, 10.6615, 2.5127)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6717 #441767
analogous
#626717 #3A6717 #17671C
triadic
#3A6717 #173A67 #67173A
tetradic
#3A6717 #176267 #441767 #671C17
square
#3A6717 #176267 #441767 #671C17
split-complementary
#3A6717 #1C1767 #671762
monochromatic
#0E1906 #1E350C #3A6717 #569922 #72CB2D

Accessibility & contrast

On white

6.70
#3A6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3A6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6717
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6717#FFFFFF#000000##FFFFFF
##3A67171.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#655B1F
Tritanopia (blue-blind)
#396358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a6717;
/* rgb */ color: rgb(58, 103, 23);
/* oklch */ color: oklch(46.4% 0.120 134.6);
Tailwind
colors: {
  custom: {
    50: '#75935a',
    500: '#3a6717',
    950: '#000000',
  },
}
SCSS
$custom: #3a6717;
$custom-light: #75935a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6717",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 93.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46412,
    "c": 0.11957,
    "h": 134.6
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#3A6717
secondary
#733D9D
accent
#41E79E
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6717

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

Preview Lab → · Contrast checker → · Palette generator →

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