#3A6917#3A6917

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

Color values

HEX#3A6917
RGBrgb(58, 105, 23)
HSLhsl(94, 64%, 25%)
HSVhsv(94, 78%, 41%)
CMYKcmyk(44.8%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.69, -30.94, 38.57)
CIE-LCHlch(39.69, 49.45, 128.74°)
OKLaboklab(46.97% -0.0865 0.0865)
OKLCHoklch(46.97% 0.122 135)
XYZxyz(6.9510, 11.0642, 2.5798)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6917 #461769
analogous
#636917 #3A6917 #17691D
triadic
#3A6917 #173A69 #69173A
tetradic
#3A6917 #176369 #461769 #691D17
square
#3A6917 #176369 #461769 #691D17
split-complementary
#3A6917 #1D1769 #691763
monochromatic
#0E1905 #1E370C #3A6917 #569B22 #71CD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6917#FFFFFF#000000##FFFFFF
##3A69171.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)
#6D6007
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#396559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6917;
/* rgb */ color: rgb(58, 105, 23);
/* oklch */ color: oklch(47.0% 0.122 135.0);
Tailwind
colors: {
  custom: {
    50: '#75945a',
    500: '#3a6917',
    950: '#000000',
  },
}
SCSS
$custom: #3a6917;
$custom-light: #75945a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6917",
  "rgb": {
    "r": 58,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 94.39,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46972,
    "c": 0.12231,
    "h": 135
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#3A6917
secondary
#753D9F
accent
#41E7A0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6917

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

Preview Lab → · Contrast checker → · Palette generator →

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