#3A6015#3A6015

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

Color values

HEX#3A6015
RGBrgb(58, 96, 21)
HSLhsl(90, 64%, 23%)
HSVhsv(90, 78%, 38%)
CMYKcmyk(39.6%, 0%, 78.1%, 62.4%)
CIE-LABlab(36.59, -26.91, 36.30)
CIE-LCHlch(36.59, 45.18, 126.55°)
OKLaboklab(44.43% -0.0757 0.0814)
OKLCHoklch(44.43% 0.111 132.9)
XYZxyz(6.0631, 9.3192, 2.1886)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6015 #3B1560
analogous
#5F6015 #3A6015 #156015
triadic
#3A6015 #153A60 #60153A
tetradic
#3A6015 #155F60 #3B1560 #601515
square
#3A6015 #155F60 #3B1560 #601515
split-complementary
#3A6015 #151560 #60155F
monochromatic
#0F1905 #1C2E0A #3A6015 #589220 #77C42B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6015#FFFFFF#000000##FFFFFF
##3A60151.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)
#645807
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#3A5C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a6015;
/* rgb */ color: rgb(58, 96, 21);
/* oklch */ color: oklch(44.4% 0.111 132.9);
Tailwind
colors: {
  custom: {
    50: '#748d58',
    500: '#3a6015',
    950: '#000000',
  },
}
SCSS
$custom: #3a6015;
$custom-light: #748d58;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6015",
  "rgb": {
    "r": 58,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 90.4,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44434,
    "c": 0.11118,
    "h": 132.9
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#3A6015
secondary
#693A97
accent
#41E795
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A6015

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

Preview Lab → · Contrast checker → · Palette generator →

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