#3A6F14#3A6F14

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

Color values

HEX#3A6F14
RGBrgb(58, 111, 20)
HSLhsl(95, 69%, 26%)
HSVhsv(95, 82%, 44%)
CMYKcmyk(47.7%, 0%, 82%, 56.5%)
CIE-LABlab(41.72, -33.80, 41.62)
CIE-LCHlch(41.72, 53.61, 129.08°)
OKLaboklab(48.63% -0.0944 0.0924)
OKLCHoklch(48.63% 0.132 135.6)
XYZxyz(7.5554, 12.3185, 2.6413)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6F14 #49146F
analogous
#676F14 #3A6F14 #146F1B
triadic
#3A6F14 #143A6F #6F143A
tetradic
#3A6F14 #14676F #49146F #6F1B14
square
#3A6F14 #14676F #49146F #6F1B14
split-complementary
#3A6F14 #1B146F #6F1467
monochromatic
#0E1A05 #1F3B0B #3A6F14 #55A31D #70D727

Accessibility & contrast

On white

6.06
#3A6F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A6F14
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6F14#FFFFFF#000000##FFFFFF
##3A6F141.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a6f14;
/* rgb */ color: rgb(58, 111, 20);
/* oklch */ color: oklch(48.6% 0.132 135.6);
Tailwind
colors: {
  custom: {
    50: '#76995a',
    500: '#3a6f14',
    950: '#000000',
  },
}
SCSS
$custom: #3a6f14;
$custom-light: #76995a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6f14",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 94.945,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.13207,
    "h": 135.6
  },
  "luminance": 0.12319
}

Semantic roles & 50–950 ramp

primary
#3A6F14
secondary
#7839A6
accent
#3CECA2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A6F14

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

Preview Lab → · Contrast checker → · Palette generator →

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