#3A6818#3A6818

#3A6818 is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.7% C 0.120 H 134.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3A6818
RGBrgb(58, 104, 24)
HSLhsl(95, 63%, 25%)
HSVhsv(95, 77%, 41%)
CMYKcmyk(44.2%, 0%, 76.9%, 59.2%)
CIE-LABlab(39.35, -30.42, 37.85)
CIE-LCHlch(39.35, 48.55, 128.79°)
OKLaboklab(46.7% -0.085 0.0851)
OKLCHoklch(46.7% 0.12 134.9)
XYZxyz(6.8600, 10.8657, 2.5998)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6818 #461868
analogous
#626818 #3A6818 #18681E
triadic
#3A6818 #183A68 #68183A
tetradic
#3A6818 #186268 #461868 #681E18
square
#3A6818 #186268 #461868 #681E18
split-complementary
#3A6818 #1E1868 #681862
monochromatic
#0E1906 #1E360D #3A6818 #569A23 #71CB2F

Accessibility & contrast

On white

6.62
#3A6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3A6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6818
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6818#FFFFFF#000000##FFFFFF
##3A68181.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#396458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6818;
/* rgb */ color: rgb(58, 104, 24);
/* oklch */ color: oklch(46.7% 0.120 134.9);
Tailwind
colors: {
  custom: {
    50: '#75935b',
    500: '#3a6818',
    950: '#000000',
  },
}
SCSS
$custom: #3a6818;
$custom-light: #75935b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6818",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 94.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.467,
    "c": 0.12029,
    "h": 134.9
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#3A6818
secondary
#753E9E
accent
#42E6A0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6818

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

Preview Lab → · Contrast checker → · Palette generator →

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