#3A6416#3A6416

#3A6416 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.6% C 0.116 H 133.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3A6416
RGBrgb(58, 100, 22)
HSLhsl(92, 64%, 24%)
HSVhsv(92, 78%, 39%)
CMYKcmyk(42%, 0%, 78%, 60.8%)
CIE-LABlab(37.97, -28.72, 37.26)
CIE-LCHlch(37.97, 47.05, 127.62°)
OKLaboklab(45.56% -0.0805 0.0836)
OKLCHoklch(45.56% 0.116 133.9)
XYZxyz(6.4468, 10.0715, 2.3632)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6416 #401664
analogous
#616416 #3A6416 #166419
triadic
#3A6416 #163A64 #64163A
tetradic
#3A6416 #166164 #401664 #641916
square
#3A6416 #166164 #401664 #641916
split-complementary
#3A6416 #191664 #641661
monochromatic
#0F1906 #1D320B #3A6416 #579621 #74C82C

Accessibility & contrast

On white

6.97
#3A6416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3A6416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6416
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6416#FFFFFF#000000##FFFFFF
##3A64161.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C07
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#3A6055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a6416;
/* rgb */ color: rgb(58, 100, 22);
/* oklch */ color: oklch(45.6% 0.116 133.9);
Tailwind
colors: {
  custom: {
    50: '#749059',
    500: '#3a6416',
    950: '#000000',
  },
}
SCSS
$custom: #3a6416;
$custom-light: #749059;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6416",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 92.308,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45563,
    "c": 0.11609,
    "h": 133.9
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#3A6416
secondary
#6F3B9B
accent
#41E79A
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3A6416

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

Preview Lab → · Contrast checker → · Palette generator →

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