#3A6F11#3A6F11

#3A6F11 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.134 H 135.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3A6F11
RGBrgb(58, 111, 17)
HSLhsl(94, 73%, 25%)
HSVhsv(94, 85%, 44%)
CMYKcmyk(47.7%, 0%, 84.7%, 56.5%)
CIE-LABlab(41.70, -33.97, 42.57)
CIE-LCHlch(41.70, 54.46, 128.59°)
OKLaboklab(48.61% -0.095 0.0939)
OKLCHoklch(48.61% 0.134 135.3)
XYZxyz(7.5304, 12.3084, 2.5092)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6F11 #46116F
analogous
#696F11 #3A6F11 #116F17
triadic
#3A6F11 #113A6F #6F113A
tetradic
#3A6F11 #11696F #46116F #6F1711
square
#3A6F11 #11696F #46116F #6F1711
split-complementary
#3A6F11 #17116F #6F1169
monochromatic
#0E1B04 #1E3A09 #3A6F11 #56A419 #71D921

Accessibility & contrast

On white

6.07
#3A6F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3A6F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6F11
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6F11#FFFFFF#000000##FFFFFF
##3A6F111.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6C611C
Tritanopia (blue-blind)
#386A5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a6f11;
/* rgb */ color: rgb(58, 111, 17);
/* oklch */ color: oklch(48.6% 0.134 135.3);
Tailwind
colors: {
  custom: {
    50: '#769959',
    500: '#3a6f11',
    950: '#000000',
  },
}
SCSS
$custom: #3a6f11;
$custom-light: #769959;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6f11",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 93.83,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.1336,
    "h": 135.3
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#3A6F11
secondary
#7535A6
accent
#38F0A0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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