#3A6215#3A6215

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

Color values

HEX#3A6215
RGBrgb(58, 98, 21)
HSLhsl(91, 65%, 23%)
HSVhsv(91, 79%, 38%)
CMYKcmyk(40.8%, 0%, 78.6%, 61.6%)
CIE-LABlab(37.28, -27.86, 36.97)
CIE-LCHlch(37.28, 46.29, 126.99°)
OKLaboklab(45% -0.0783 0.0828)
OKLCHoklch(45% 0.114 133.4)
XYZxyz(6.2479, 9.6888, 2.2502)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6215 #3D1562
analogous
#606215 #3A6215 #156216
triadic
#3A6215 #153A62 #62153A
tetradic
#3A6215 #156062 #3D1562 #621615
square
#3A6215 #156062 #3D1562 #621615
split-complementary
#3A6215 #161562 #621560
monochromatic
#0F1905 #1C300A #3A6215 #589420 #76C72B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6215#FFFFFF#000000##FFFFFF
##3A62151.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)
#665A06
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#3A5E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a6215;
/* rgb */ color: rgb(58, 98, 21);
/* oklch */ color: oklch(45.0% 0.114 133.4);
Tailwind
colors: {
  custom: {
    50: '#748f58',
    500: '#3a6215',
    950: '#000000',
  },
}
SCSS
$custom: #3a6215;
$custom-light: #748f58;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6215",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 91.169,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.11397,
    "h": 133.4
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#3A6215
secondary
#6B3A99
accent
#40E897
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A6215

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

Preview Lab → · Contrast checker → · Palette generator →

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