#3A6810#3A6810

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

Color values

HEX#3A6810
RGBrgb(58, 104, 16)
HSLhsl(91, 73%, 24%)
HSVhsv(91, 85%, 41%)
CMYKcmyk(44.2%, 0%, 84.6%, 59.2%)
CIE-LABlab(39.30, -30.93, 40.68)
CIE-LCHlch(39.30, 51.10, 127.25°)
OKLaboklab(46.65% -0.0869 0.0898)
OKLCHoklch(46.65% 0.125 134.1)
XYZxyz(6.7886, 10.8372, 2.2242)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6810 #3E1068
analogous
#666810 #3A6810 #106812
triadic
#3A6810 #103A68 #68103A
tetradic
#3A6810 #106668 #3E1068 #681210
square
#3A6810 #106668 #3E1068 #681210
split-complementary
#3A6810 #121068 #681066
monochromatic
#0F1B04 #1C3308 #3A6810 #589D18 #75D220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6810#FFFFFF#000000##FFFFFF
##3A68101.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)
#665B1A
Tritanopia (blue-blind)
#396458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6810;
/* rgb */ color: rgb(58, 104, 16);
/* oklch */ color: oklch(46.6% 0.125 134.1);
Tailwind
colors: {
  custom: {
    50: '#759357',
    500: '#3a6810',
    950: '#000000',
  },
}
SCSS
$custom: #3a6810;
$custom-light: #759357;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6810",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 91.364,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46645,
    "c": 0.12496,
    "h": 134.1
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#3A6810
secondary
#6C34A0
accent
#38F098
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #3A6810

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

Preview Lab → · Contrast checker → · Palette generator →

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