#3A6813#3A6813

#3A6813 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.7% C 0.123 H 134.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#3A6813
RGBrgb(58, 104, 19)
HSLhsl(92, 69%, 24%)
HSVhsv(92, 82%, 41%)
CMYKcmyk(44.2%, 0%, 81.7%, 59.2%)
CIE-LABlab(39.32, -30.76, 39.69)
CIE-LCHlch(39.32, 50.21, 127.77°)
OKLaboklab(46.66% -0.0863 0.0882)
OKLCHoklch(46.66% 0.123 134.4)
XYZxyz(6.8126, 10.8468, 2.3506)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6813 #411368
analogous
#656813 #3A6813 #136817
triadic
#3A6813 #133A68 #68133A
tetradic
#3A6813 #136568 #411368 #681713
square
#3A6813 #136568 #411368 #681713
split-complementary
#3A6813 #171368 #681365
monochromatic
#0E1A05 #1D340A #3A6813 #579C1C #74CF26

Accessibility & contrast

On white

6.63
#3A6813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A6813
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6813#FFFFFF#000000##FFFFFF
##3A68131.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a6813;
/* rgb */ color: rgb(58, 104, 19);
/* oklch */ color: oklch(46.7% 0.123 134.4);
Tailwind
colors: {
  custom: {
    50: '#759358',
    500: '#3a6813',
    950: '#000000',
  },
}
SCSS
$custom: #3a6813;
$custom-light: #759358;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6813",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 92.471,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46663,
    "c": 0.12336,
    "h": 134.4
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#3A6813
secondary
#70379F
accent
#3CEC9B
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6813

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

Preview Lab → · Contrast checker → · Palette generator →

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