#3A7914#3A7914

#3A7914 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.4% C 0.145 H 136.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3A7914
RGBrgb(58, 121, 20)
HSLhsl(97, 72%, 28%)
HSVhsv(97, 83%, 47%)
CMYKcmyk(52.1%, 0%, 83.5%, 52.5%)
CIE-LABlab(45.12, -38.02, 44.79)
CIE-LCHlch(45.12, 58.75, 130.32°)
OKLaboklab(51.43% -0.1057 0.099)
OKLCHoklch(51.43% 0.145 136.9)
XYZxyz(8.7083, 14.6242, 3.0256)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7914 #531479
analogous
#6C7914 #3A7914 #147921
triadic
#3A7914 #143A79 #79143A
tetradic
#3A7914 #146C79 #531479 #792114
square
#3A7914 #146C79 #531479 #792114
split-complementary
#3A7914 #211479 #79146C
monochromatic
#0D1A04 #21440B #3A7914 #53AE1D #6EDC2B

Accessibility & contrast

On white

5.35
#3A7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3A7914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7914
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7914#FFFFFF#000000##FFFFFF
##3A79141.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#367467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a7914;
/* rgb */ color: rgb(58, 121, 20);
/* oklch */ color: oklch(51.4% 0.145 136.9);
Tailwind
colors: {
  custom: {
    50: '#77a05c',
    500: '#3a7914',
    950: '#000000',
  },
}
SCSS
$custom: #3a7914;
$custom-light: #77a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7914",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 97.426,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.14486,
    "h": 136.9
  },
  "luminance": 0.14625
}

Semantic roles & 50–950 ramp

primary
#3A7914
secondary
#833AAF
accent
#39EEAA
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #3A7914

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

Preview Lab → · Contrast checker → · Palette generator →

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