#3A6815#3A6815

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

Color values

HEX#3A6815
RGBrgb(58, 104, 21)
HSLhsl(93, 66%, 25%)
HSVhsv(93, 80%, 41%)
CMYKcmyk(44.2%, 0%, 79.8%, 59.2%)
CIE-LABlab(39.33, -30.63, 38.98)
CIE-LCHlch(39.33, 49.57, 128.16°)
OKLaboklab(46.68% -0.0858 0.087)
OKLCHoklch(46.68% 0.122 134.6)
XYZxyz(6.8305, 10.8539, 2.4444)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6815 #431568
analogous
#646815 #3A6815 #15681A
triadic
#3A6815 #153A68 #68153A
tetradic
#3A6815 #156468 #431568 #681A15
square
#3A6815 #156468 #431568 #681A15
split-complementary
#3A6815 #1A1568 #681564
monochromatic
#0E1905 #1E350B #3A6815 #569B1F #73CE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6815#FFFFFF#000000##FFFFFF
##3A68151.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)
#6C5F04
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#396458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6815;
/* rgb */ color: rgb(58, 104, 21);
/* oklch */ color: oklch(46.7% 0.122 134.6);
Tailwind
colors: {
  custom: {
    50: '#759359',
    500: '#3a6815',
    950: '#000000',
  },
}
SCSS
$custom: #3a6815;
$custom-light: #759359;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6815",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 93.253,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.1222,
    "h": 134.6
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#3A6815
secondary
#723A9F
accent
#3EE99D
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6815

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

Preview Lab → · Contrast checker → · Palette generator →

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