#3A6718#3A6718

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

Color values

HEX#3A6718
RGBrgb(58, 103, 24)
HSLhsl(94, 62%, 25%)
HSVhsv(94, 77%, 40%)
CMYKcmyk(43.7%, 0%, 76.7%, 59.6%)
CIE-LABlab(39.01, -29.96, 37.50)
CIE-LCHlch(39.01, 48.00, 128.62°)
OKLaboklab(46.42% -0.0837 0.0844)
OKLCHoklch(46.42% 0.119 134.8)
XYZxyz(6.7599, 10.6656, 2.5665)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6718 #451867
analogous
#626718 #3A6718 #18671D
triadic
#3A6718 #183A67 #67183A
tetradic
#3A6718 #186267 #451867 #671D18
square
#3A6718 #186267 #451867 #671D18
split-complementary
#3A6718 #1D1867 #671862
monochromatic
#0E1906 #1E350C #3A6718 #569924 #72CA2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6718#FFFFFF#000000##FFFFFF
##3A67181.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)
#6B5E0A
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#396358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a6718;
/* rgb */ color: rgb(58, 103, 24);
/* oklch */ color: oklch(46.4% 0.119 134.8);
Tailwind
colors: {
  custom: {
    50: '#75935b',
    500: '#3a6718',
    950: '#000000',
  },
}
SCSS
$custom: #3a6718;
$custom-light: #75935b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6718",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 94.177,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.11891,
    "h": 134.8
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#3A6718
secondary
#743E9D
accent
#43E59F
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6718

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

Preview Lab → · Contrast checker → · Palette generator →

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