#3A6D15#3A6D15

#3A6D15 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.1% C 0.129 H 135.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3A6D15
RGBrgb(58, 109, 21)
HSLhsl(95, 68%, 25%)
HSVhsv(95, 81%, 43%)
CMYKcmyk(46.8%, 0%, 80.7%, 57.3%)
CIE-LABlab(41.04, -32.86, 40.63)
CIE-LCHlch(41.04, 52.25, 128.97°)
OKLaboklab(48.08% -0.0918 0.0905)
OKLCHoklch(48.08% 0.129 135.4)
XYZxyz(7.3487, 11.8905, 2.6172)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6D15 #48156D
analogous
#666D15 #3A6D15 #156D1C
triadic
#3A6D15 #153A6D #6D153A
tetradic
#3A6D15 #15666D #48156D #6D1C15
square
#3A6D15 #15666D #48156D #6D1C15
split-complementary
#3A6D15 #1C156D #6D1566
monochromatic
#0E1A05 #1F3A0B #3A6D15 #55A01F #71D429

Accessibility & contrast

On white

6.22
#3A6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3A6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6D15
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6D15#FFFFFF#000000##FFFFFF
##3A6D151.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716301
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#38695C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a6d15;
/* rgb */ color: rgb(58, 109, 21);
/* oklch */ color: oklch(48.1% 0.129 135.4);
Tailwind
colors: {
  custom: {
    50: '#76975a',
    500: '#3a6d15',
    950: '#000000',
  },
}
SCSS
$custom: #3a6d15;
$custom-light: #76975a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6d15",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 94.773,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.12889,
    "h": 135.4
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#3A6D15
secondary
#773AA3
accent
#3DEBA2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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