#3A6C16#3A6C16

#3A6C16 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.8% C 0.127 H 135.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3A6C16
RGBrgb(58, 108, 22)
HSLhsl(95, 66%, 25%)
HSVhsv(95, 80%, 42%)
CMYKcmyk(46.3%, 0%, 79.6%, 57.6%)
CIE-LABlab(40.71, -32.35, 39.94)
CIE-LCHlch(40.71, 51.40, 129.01°)
OKLaboklab(47.81% -0.0904 0.0892)
OKLCHoklch(47.81% 0.127 135.4)
XYZxyz(7.2521, 11.6822, 2.6317)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6C16 #48166C
analogous
#656C16 #3A6C16 #166C1D
triadic
#3A6C16 #163A6C #6C163A
tetradic
#3A6C16 #16656C #48166C #6C1D16
square
#3A6C16 #16656C #48166C #6C1D16
split-complementary
#3A6C16 #1D166C #6C1665
monochromatic
#0E1905 #1F390C #3A6C16 #559F20 #71D22B

Accessibility & contrast

On white

6.29
#3A6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3A6C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6C16
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6C16#FFFFFF#000000##FFFFFF
##3A6C161.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706303
Deuteranopia (green-blind)
#6A5E1F
Tritanopia (blue-blind)
#38685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a6c16;
/* rgb */ color: rgb(58, 108, 22);
/* oklch */ color: oklch(47.8% 0.127 135.4);
Tailwind
colors: {
  custom: {
    50: '#75965a',
    500: '#3a6c16',
    950: '#000000',
  },
}
SCSS
$custom: #3a6c16;
$custom-light: #75965a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6c16",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 94.884,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.12697,
    "h": 135.4
  },
  "luminance": 0.11683
}

Semantic roles & 50–950 ramp

primary
#3A6C16
secondary
#773CA2
accent
#3FE9A2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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