#3A6616#3A6616

#3A6616 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.1% C 0.119 H 134.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3A6616
RGBrgb(58, 102, 22)
HSLhsl(93, 65%, 24%)
HSVhsv(93, 78%, 40%)
CMYKcmyk(43.1%, 0%, 78.4%, 60%)
CIE-LABlab(38.66, -29.65, 37.94)
CIE-LCHlch(38.66, 48.15, 128.00°)
OKLaboklab(46.12% -0.083 0.085)
OKLCHoklch(46.12% 0.119 134.3)
XYZxyz(6.6410, 10.4599, 2.4279)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6616 #421666
analogous
#626616 #3A6616 #16661A
triadic
#3A6616 #163A66 #66163A
tetradic
#3A6616 #166266 #421666 #661A16
square
#3A6616 #166266 #421666 #661A16
split-complementary
#3A6616 #1A1666 #661662
monochromatic
#0E1905 #1D340B #3A6616 #579821 #73CB2C

Accessibility & contrast

On white

6.79
#3A6616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3A6616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6616
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6616#FFFFFF#000000##FFFFFF
##3A66161.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#396257
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a6616;
/* rgb */ color: rgb(58, 102, 22);
/* oklch */ color: oklch(46.1% 0.119 134.3);
Tailwind
colors: {
  custom: {
    50: '#75925a',
    500: '#3a6616',
    950: '#000000',
  },
}
SCSS
$custom: #3a6616;
$custom-light: #75925a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6616",
  "rgb": {
    "r": 58,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 93,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.11884,
    "h": 134.3
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#3A6616
secondary
#713B9D
accent
#40E89C
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6616

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

Preview Lab → · Contrast checker → · Palette generator →

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