#3A6016#3A6016

#3A6016 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.4% C 0.111 H 133.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#3A6016
RGBrgb(58, 96, 22)
HSLhsl(91, 63%, 23%)
HSVhsv(91, 77%, 38%)
CMYKcmyk(39.6%, 0%, 77.1%, 62.4%)
CIE-LABlab(36.60, -26.83, 35.90)
CIE-LCHlch(36.60, 44.82, 126.78°)
OKLaboklab(44.44% -0.0754 0.0807)
OKLCHoklch(44.44% 0.111 133.1)
XYZxyz(6.0725, 9.3229, 2.2384)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6016 #3C1660
analogous
#5F6016 #3A6016 #166017
triadic
#3A6016 #163A60 #60163A
tetradic
#3A6016 #165F60 #3C1660 #601716
square
#3A6016 #165F60 #3C1660 #601716
split-complementary
#3A6016 #171660 #60165F
monochromatic
#0F1906 #1C2E0B #3A6016 #589221 #76C42D

Accessibility & contrast

On white

7.33
#3A6016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A6016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A6016
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6016#FFFFFF#000000##FFFFFF
##3A60161.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645809
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#3A5C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a6016;
/* rgb */ color: rgb(58, 96, 22);
/* oklch */ color: oklch(44.4% 0.111 133.1);
Tailwind
colors: {
  custom: {
    50: '#748d59',
    500: '#3a6016',
    950: '#000000',
  },
}
SCSS
$custom: #3a6016;
$custom-light: #748d59;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6016",
  "rgb": {
    "r": 58,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 90.811,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44442,
    "c": 0.1105,
    "h": 133.1
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#3A6016
secondary
#6A3B97
accent
#42E696
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A6016

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

Preview Lab → · Contrast checker → · Palette generator →

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