#3A6014#3A6014

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

Color values

HEX#3A6014
RGBrgb(58, 96, 20)
HSLhsl(90, 66%, 23%)
HSVhsv(90, 79%, 38%)
CMYKcmyk(39.6%, 0%, 79.2%, 62.4%)
CIE-LABlab(36.58, -26.98, 36.68)
CIE-LCHlch(36.58, 45.53, 126.33°)
OKLaboklab(44.43% -0.076 0.0821)
OKLCHoklch(44.43% 0.112 132.8)
XYZxyz(6.0540, 9.3155, 2.1408)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6014 #3A1460
analogous
#606014 #3A6014 #146014
triadic
#3A6014 #143A60 #60143A
tetradic
#3A6014 #146060 #3A1460 #601414
square
#3A6014 #146060 #3A1460 #601414
split-complementary
#3A6014 #141460 #601460
monochromatic
#0F1905 #1B2D09 #3A6014 #59931F #77C529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6014#FFFFFF#000000##FFFFFF
##3A60141.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)
#645805
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#3A5C51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a6014;
/* rgb */ color: rgb(58, 96, 20);
/* oklch */ color: oklch(44.4% 0.112 132.8);
Tailwind
colors: {
  custom: {
    50: '#748d58',
    500: '#3a6014',
    950: '#000000',
  },
}
SCSS
$custom: #3a6014;
$custom-light: #748d58;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6014",
  "rgb": {
    "r": 58,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.11183,
    "h": 132.8
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#3A6014
secondary
#683898
accent
#3FE894
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A6014

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

Preview Lab → · Contrast checker → · Palette generator →

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