#3A6914#3A6914

#3A6914 is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 47.0% C 0.124 H 134.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3A6914
RGBrgb(58, 105, 20)
HSLhsl(93, 68%, 25%)
HSVhsv(93, 81%, 41%)
CMYKcmyk(44.8%, 0%, 81%, 58.8%)
CIE-LABlab(39.67, -31.15, 39.67)
CIE-LCHlch(39.67, 50.44, 128.14°)
OKLaboklab(46.95% -0.0872 0.0883)
OKLCHoklch(46.95% 0.124 134.7)
XYZxyz(6.9226, 11.0528, 2.4303)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6914 #431469
analogous
#656914 #3A6914 #146918
triadic
#3A6914 #143A69 #69143A
tetradic
#3A6914 #146569 #431469 #691814
square
#3A6914 #146569 #431469 #691814
split-complementary
#3A6914 #181469 #691465
monochromatic
#0E1A05 #1E360A #3A6914 #569C1E #73D028

Accessibility & contrast

On white

6.54
#3A6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3A6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6914
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6914#FFFFFF#000000##FFFFFF
##3A69141.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6001
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#396559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6914;
/* rgb */ color: rgb(58, 105, 20);
/* oklch */ color: oklch(47.0% 0.124 134.7);
Tailwind
colors: {
  custom: {
    50: '#759459',
    500: '#3a6914',
    950: '#000000',
  },
}
SCSS
$custom: #3a6914;
$custom-light: #759459;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6914",
  "rgb": {
    "r": 58,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 93.176,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46951,
    "c": 0.12413,
    "h": 134.7
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#3A6914
secondary
#7239A0
accent
#3DEB9D
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6914

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

Preview Lab → · Contrast checker → · Palette generator →

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