#3A6013#3A6013

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

Color values

HEX#3A6013
RGBrgb(58, 96, 19)
HSLhsl(90, 67%, 23%)
HSVhsv(90, 80%, 38%)
CMYKcmyk(39.6%, 0%, 80.2%, 62.4%)
CIE-LABlab(36.58, -27.04, 37.06)
CIE-LCHlch(36.58, 45.88, 126.12°)
OKLaboklab(44.42% -0.0762 0.0827)
OKLCHoklch(44.42% 0.112 132.7)
XYZxyz(6.0453, 9.3120, 2.0948)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6013 #391360
analogous
#605F13 #3A6013 #146013
triadic
#3A6013 #133A60 #60133A
tetradic
#3A6013 #13605F #391360 #601314
square
#3A6013 #13605F #391360 #601314
split-complementary
#3A6013 #131460 #5F1360
monochromatic
#0F1A05 #1B2D09 #3A6013 #59931D #78C627

Accessibility & contrast

On white

7.34
#3A6013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A6013
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6013#FFFFFF#000000##FFFFFF
##3A60131.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645803
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#3A5C51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a6013;
/* rgb */ color: rgb(58, 96, 19);
/* oklch */ color: oklch(44.4% 0.112 132.7);
Tailwind
colors: {
  custom: {
    50: '#748d57',
    500: '#3a6013',
    950: '#000000',
  },
}
SCSS
$custom: #3a6013;
$custom-light: #748d57;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6013",
  "rgb": {
    "r": 58,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 89.61,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.11247,
    "h": 132.7
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#3A6013
secondary
#673798
accent
#3EEA93
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A6013

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

Preview Lab → · Contrast checker → · Palette generator →

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