#3A6216#3A6216

#3A6216 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.0% C 0.113 H 133.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#3A6216
RGBrgb(58, 98, 22)
HSLhsl(92, 63%, 24%)
HSVhsv(92, 78%, 38%)
CMYKcmyk(40.8%, 0%, 77.6%, 61.6%)
CIE-LABlab(37.28, -27.78, 36.58)
CIE-LCHlch(37.28, 45.94, 127.21°)
OKLaboklab(45% -0.078 0.0822)
OKLCHoklch(45% 0.113 133.5)
XYZxyz(6.2573, 9.6925, 2.3000)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6216 #3E1662
analogous
#606216 #3A6216 #166218
triadic
#3A6216 #163A62 #62163A
tetradic
#3A6216 #166062 #3E1662 #621816
square
#3A6216 #166062 #3E1662 #621816
split-complementary
#3A6216 #181662 #621660
monochromatic
#0F1906 #1C300B #3A6216 #589421 #75C62C

Accessibility & contrast

On white

7.15
#3A6216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3A6216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A6216
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6216#FFFFFF#000000##FFFFFF
##3A62161.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A08
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#3A5E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a6216;
/* rgb */ color: rgb(58, 98, 22);
/* oklch */ color: oklch(45.0% 0.113 133.5);
Tailwind
colors: {
  custom: {
    50: '#748f59',
    500: '#3a6216',
    950: '#000000',
  },
}
SCSS
$custom: #3a6216;
$custom-light: #748f59;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6216",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 91.579,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45002,
    "c": 0.1133,
    "h": 133.5
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#3A6216
secondary
#6C3B99
accent
#41E698
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A6216

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

Preview Lab → · Contrast checker → · Palette generator →

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