#3A6811#3A6811

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

Color values

HEX#3A6811
RGBrgb(58, 104, 17)
HSLhsl(92, 72%, 24%)
HSVhsv(92, 84%, 41%)
CMYKcmyk(44.2%, 0%, 83.7%, 59.2%)
CIE-LABlab(39.31, -30.88, 40.36)
CIE-LCHlch(39.31, 50.82, 127.42°)
OKLaboklab(46.65% -0.0867 0.0893)
OKLCHoklch(46.65% 0.124 134.2)
XYZxyz(6.7963, 10.8403, 2.2645)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6811 #3F1168
analogous
#656811 #3A6811 #116813
triadic
#3A6811 #113A68 #68113A
tetradic
#3A6811 #116568 #3F1168 #681311
square
#3A6811 #116568 #3F1168 #681311
split-complementary
#3A6811 #131168 #681165
monochromatic
#0F1A04 #1D3308 #3A6811 #579D1A #75D122

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #3a6811;
/* rgb */ color: rgb(58, 104, 17);
/* oklch */ color: oklch(46.7% 0.124 134.2);
Tailwind
colors: {
  custom: {
    50: '#759358',
    500: '#3a6811',
    950: '#000000',
  },
}
SCSS
$custom: #3a6811;
$custom-light: #759358;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6811",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 91.724,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46651,
    "c": 0.12446,
    "h": 134.2
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#3A6811
secondary
#6D35A0
accent
#39EF99
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #3A6811

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

Preview Lab → · Contrast checker → · Palette generator →

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