#3A6C14#3A6C14

#3A6C14 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.8% C 0.128 H 135.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3A6C14
RGBrgb(58, 108, 20)
HSLhsl(94, 69%, 25%)
HSVhsv(94, 81%, 42%)
CMYKcmyk(46.3%, 0%, 81.5%, 57.6%)
CIE-LABlab(40.69, -32.48, 40.65)
CIE-LCHlch(40.69, 52.03, 128.63°)
OKLaboklab(47.79% -0.0908 0.0904)
OKLCHoklch(47.79% 0.128 135.2)
XYZxyz(7.2336, 11.6747, 2.5340)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6C14 #46146C
analogous
#666C14 #3A6C14 #146C1A
triadic
#3A6C14 #143A6C #6C143A
tetradic
#3A6C14 #14666C #46146C #6C1A14
square
#3A6C14 #14666C #46146C #6C1A14
split-complementary
#3A6C14 #1A146C #6C1466
monochromatic
#0E1A05 #1E380A #3A6C14 #56A01E #71D327

Accessibility & contrast

On white

6.30
#3A6C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3A6C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6C14
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6C14#FFFFFF#000000##FFFFFF
##3A6C141.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6A5E1E
Tritanopia (blue-blind)
#39685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a6c14;
/* rgb */ color: rgb(58, 108, 20);
/* oklch */ color: oklch(47.8% 0.128 135.2);
Tailwind
colors: {
  custom: {
    50: '#759659',
    500: '#3a6c14',
    950: '#000000',
  },
}
SCSS
$custom: #3a6c14;
$custom-light: #759659;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6c14",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 94.091,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.12813,
    "h": 135.2
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#3A6C14
secondary
#7539A3
accent
#3CECA0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6C14

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

Preview Lab → · Contrast checker → · Palette generator →

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