#3A6A15#3A6A15

#3A6A15 is a mid, vivid yellow-green. Relative luminance 0.113; OKLCH L 47.2% C 0.125 H 134.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3A6A15
RGBrgb(58, 106, 21)
HSLhsl(94, 67%, 25%)
HSVhsv(94, 80%, 42%)
CMYKcmyk(45.3%, 0%, 80.2%, 58.4%)
CIE-LABlab(40.02, -31.53, 39.64)
CIE-LCHlch(40.02, 50.65, 128.50°)
OKLaboklab(47.24% -0.0882 0.0884)
OKLCHoklch(47.24% 0.125 134.9)
XYZxyz(7.0342, 11.2614, 2.5123)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6A15 #45156A
analogous
#656A15 #3A6A15 #156A1A
triadic
#3A6A15 #153A6A #6A153A
tetradic
#3A6A15 #15656A #45156A #6A1A15
square
#3A6A15 #15656A #45156A #6A1A15
split-complementary
#3A6A15 #1A156A #6A1565
monochromatic
#0E1A05 #1E370B #3A6A15 #569D1F #72D029

Accessibility & contrast

On white

6.46
#3A6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3A6A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6A15
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6A15#FFFFFF#000000##FFFFFF
##3A6A151.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6103
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#39665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a6a15;
/* rgb */ color: rgb(58, 106, 21);
/* oklch */ color: oklch(47.2% 0.125 134.9);
Tailwind
colors: {
  custom: {
    50: '#75955a',
    500: '#3a6a15',
    950: '#000000',
  },
}
SCSS
$custom: #3a6a15;
$custom-light: #75955a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6a15",
  "rgb": {
    "r": 58,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 93.882,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47238,
    "c": 0.12489,
    "h": 134.9
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#3A6A15
secondary
#743AA1
accent
#3EEA9F
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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