#3A6A1A#3A6A1A

#3A6A1A is a mid, vivid yellow-green. Relative luminance 0.113; OKLCH L 47.3% C 0.122 H 135.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3A6A1A
RGBrgb(58, 106, 26)
HSLhsl(96, 61%, 26%)
HSVhsv(96, 75%, 42%)
CMYKcmyk(45.3%, 0%, 75.5%, 58.4%)
CIE-LABlab(40.05, -31.17, 37.74)
CIE-LCHlch(40.05, 48.95, 129.55°)
OKLaboklab(47.28% -0.0869 0.0852)
OKLCHoklch(47.28% 0.122 135.5)
XYZxyz(7.0852, 11.2818, 2.7813)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6A1A #4A1A6A
analogous
#626A1A #3A6A1A #1A6A22
triadic
#3A6A1A #1A3A6A #6A1A3A
tetradic
#3A6A1A #1A626A #4A1A6A #6A221A
square
#3A6A1A #1A626A #4A1A6A #6A221A
split-complementary
#3A6A1A #221A6A #6A1A62
monochromatic
#0D1906 #1F390E #3A6A1A #559B26 #70CC32

Accessibility & contrast

On white

6.45
#3A6A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3A6A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6A1A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6A1A#FFFFFF#000000##FFFFFF
##3A6A1A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610C
Deuteranopia (green-blind)
#685D22
Tritanopia (blue-blind)
#38665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a6a1a;
/* rgb */ color: rgb(58, 106, 26);
/* oklch */ color: oklch(47.3% 0.122 135.5);
Tailwind
colors: {
  custom: {
    50: '#75955c',
    500: '#3a6a1a',
    950: '#000000',
  },
}
SCSS
$custom: #3a6a1a;
$custom-light: #75955c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6a1a",
  "rgb": {
    "r": 58,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 96,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47276,
    "c": 0.12168,
    "h": 135.5
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#3A6A1A
secondary
#79409F
accent
#44E4A4
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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