#3A6018#3A6018

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

Color values

HEX#3A6018
RGBrgb(58, 96, 24)
HSLhsl(92, 60%, 24%)
HSVhsv(92, 75%, 38%)
CMYKcmyk(39.6%, 0%, 75%, 62.4%)
CIE-LABlab(36.61, -26.68, 35.08)
CIE-LCHlch(36.61, 44.07, 127.26°)
OKLaboklab(44.46% -0.0748 0.0793)
OKLCHoklch(44.46% 0.109 133.3)
XYZxyz(6.0926, 9.3310, 2.3440)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6018 #3E1860
analogous
#5E6018 #3A6018 #18601A
triadic
#3A6018 #183A60 #60183A
tetradic
#3A6018 #185E60 #3E1860 #601A18
square
#3A6018 #185E60 #3E1860 #601A18
split-complementary
#3A6018 #1A1860 #60185E
monochromatic
#0F1806 #1C2F0C #3A6018 #589124 #75C230

Accessibility & contrast

On white

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

On black

2.87
#3A6018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A6018#FFFFFF#000000##FFFFFF
##3A60181.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#3A5C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a6018;
/* rgb */ color: rgb(58, 96, 24);
/* oklch */ color: oklch(44.5% 0.109 133.3);
Tailwind
colors: {
  custom: {
    50: '#748d5a',
    500: '#3a6018',
    950: '#000000',
  },
}
SCSS
$custom: #3a6018;
$custom-light: #748d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6018",
  "rgb": {
    "r": 58,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 91.667,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44459,
    "c": 0.10908,
    "h": 133.3
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#3A6018
secondary
#6C3D96
accent
#45E398
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A6018

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

Preview Lab → · Contrast checker → · Palette generator →

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