#3A6712#3A6712

#3A6712 is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.4% C 0.123 H 134.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3A6712
RGBrgb(58, 103, 18)
HSLhsl(92, 70%, 24%)
HSVhsv(92, 83%, 40%)
CMYKcmyk(43.7%, 0%, 82.5%, 59.6%)
CIE-LABlab(38.97, -30.37, 39.71)
CIE-LCHlch(38.97, 49.99, 127.40°)
OKLaboklab(46.38% -0.0853 0.0881)
OKLCHoklch(46.38% 0.123 134.1)
XYZxyz(6.7042, 10.6434, 2.2733)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6712 #3F1267
analogous
#646712 #3A6712 #126714
triadic
#3A6712 #123A67 #67123A
tetradic
#3A6712 #126467 #3F1267 #671412
square
#3A6712 #126467 #3F1267 #671412
split-complementary
#3A6712 #141267 #671264
monochromatic
#0F1A05 #1D3309 #3A6712 #579B1B #75CF24

Accessibility & contrast

On white

6.71
#3A6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3A6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6712
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6712#FFFFFF#000000##FFFFFF
##3A67121.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#3A6357
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a6712;
/* rgb */ color: rgb(58, 103, 18);
/* oklch */ color: oklch(46.4% 0.123 134.1);
Tailwind
colors: {
  custom: {
    50: '#759358',
    500: '#3a6712',
    950: '#000000',
  },
}
SCSS
$custom: #3a6712;
$custom-light: #759358;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6712",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 91.765,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.12258,
    "h": 134.1
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#3A6712
secondary
#6D369F
accent
#3BED99
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6712

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

Preview Lab → · Contrast checker → · Palette generator →

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