#3A6316#3A6316

#3A6316 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.3% C 0.115 H 133.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#3A6316
RGBrgb(58, 99, 22)
HSLhsl(92, 64%, 24%)
HSVhsv(92, 78%, 39%)
CMYKcmyk(41.4%, 0%, 77.8%, 61.2%)
CIE-LABlab(37.63, -28.25, 36.92)
CIE-LCHlch(37.63, 46.49, 127.42°)
OKLaboklab(45.28% -0.0793 0.0829)
OKLCHoklch(45.28% 0.115 133.7)
XYZxyz(6.3515, 9.8808, 2.3314)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6316 #3F1663
analogous
#606316 #3A6316 #166318
triadic
#3A6316 #163A63 #63163A
tetradic
#3A6316 #166063 #3F1663 #631816
square
#3A6316 #166063 #3F1663 #631816
split-complementary
#3A6316 #181663 #631660
monochromatic
#0F1906 #1D310B #3A6316 #579521 #75C72C

Accessibility & contrast

On white

7.06
#3A6316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3A6316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A6316
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6316#FFFFFF#000000##FFFFFF
##3A63161.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B07
Deuteranopia (green-blind)
#62571D
Tritanopia (blue-blind)
#3A5F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a6316;
/* rgb */ color: rgb(58, 99, 22);
/* oklch */ color: oklch(45.3% 0.115 133.7);
Tailwind
colors: {
  custom: {
    50: '#749059',
    500: '#3a6316',
    950: '#000000',
  },
}
SCSS
$custom: #3a6316;
$custom-light: #749059;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6316",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 91.948,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45283,
    "c": 0.1147,
    "h": 133.7
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#3A6316
secondary
#6D3B9A
accent
#41E799
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A6316

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

Preview Lab → · Contrast checker → · Palette generator →

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