#3A6913#3A6913

#3A6913 is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 46.9% C 0.125 H 134.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3A6913
RGBrgb(58, 105, 19)
HSLhsl(93, 69%, 24%)
HSVhsv(93, 82%, 41%)
CMYKcmyk(44.8%, 0%, 81.9%, 58.8%)
CIE-LABlab(39.66, -31.21, 40.02)
CIE-LCHlch(39.66, 50.75, 127.95°)
OKLaboklab(46.94% -0.0875 0.0889)
OKLCHoklch(46.94% 0.125 134.6)
XYZxyz(6.9139, 11.0493, 2.3844)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6913 #421369
analogous
#656913 #3A6913 #136917
triadic
#3A6913 #133A69 #69133A
tetradic
#3A6913 #136569 #421369 #691713
square
#3A6913 #136569 #421369 #691713
split-complementary
#3A6913 #171369 #691365
monochromatic
#0E1A05 #1D350A #3A6913 #579D1C #73D126

Accessibility & contrast

On white

6.54
#3A6913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3A6913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6913
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6913#FFFFFF#000000##FFFFFF
##3A69131.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#396559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6913;
/* rgb */ color: rgb(58, 105, 19);
/* oklch */ color: oklch(46.9% 0.125 134.6);
Tailwind
colors: {
  custom: {
    50: '#759459',
    500: '#3a6913',
    950: '#000000',
  },
}
SCSS
$custom: #3a6913;
$custom-light: #759459;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6913",
  "rgb": {
    "r": 58,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 92.791,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46944,
    "c": 0.1247,
    "h": 134.6
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#3A6913
secondary
#7138A0
accent
#3CEC9C
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6913

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

Preview Lab → · Contrast checker → · Palette generator →

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