#3A6115#3A6115

#3A6115 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.7% C 0.113 H 133.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3A6115
RGBrgb(58, 97, 21)
HSLhsl(91, 64%, 23%)
HSVhsv(91, 78%, 38%)
CMYKcmyk(40.2%, 0%, 78.4%, 62%)
CIE-LABlab(36.93, -27.38, 36.64)
CIE-LCHlch(36.93, 45.74, 126.78°)
OKLaboklab(44.71% -0.077 0.0821)
OKLCHoklch(44.71% 0.113 133.2)
XYZxyz(6.1549, 9.5028, 2.2192)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6115 #3C1561
analogous
#606115 #3A6115 #156116
triadic
#3A6115 #153A61 #61153A
tetradic
#3A6115 #156061 #3C1561 #611615
square
#3A6115 #156061 #3C1561 #611615
split-complementary
#3A6115 #161561 #611560
monochromatic
#0F1905 #1C2F0A #3A6115 #589320 #76C62B

Accessibility & contrast

On white

7.24
#3A6115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3A6115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A6115
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6115#FFFFFF#000000##FFFFFF
##3A61151.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655907
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#3A5D52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a6115;
/* rgb */ color: rgb(58, 97, 21);
/* oklch */ color: oklch(44.7% 0.113 133.2);
Tailwind
colors: {
  custom: {
    50: '#748e58',
    500: '#3a6115',
    950: '#000000',
  },
}
SCSS
$custom: #3a6115;
$custom-light: #748e58;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6115",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 90.789,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44714,
    "c": 0.11258,
    "h": 133.2
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#3A6115
secondary
#6A3A98
accent
#40E796
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A6115

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

Preview Lab → · Contrast checker → · Palette generator →

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