#3A7514#3A7514

#3A7514 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.3% C 0.140 H 136.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3A7514
RGBrgb(58, 117, 20)
HSLhsl(96, 71%, 27%)
HSVhsv(96, 83%, 46%)
CMYKcmyk(50.4%, 0%, 82.9%, 54.1%)
CIE-LABlab(43.76, -36.36, 43.53)
CIE-LCHlch(43.76, 56.72, 129.87°)
OKLaboklab(50.31% -0.1013 0.0964)
OKLCHoklch(50.31% 0.14 136.4)
XYZxyz(8.2322, 13.6721, 2.8669)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7514 #4F1475
analogous
#6B7514 #3A7514 #14751F
triadic
#3A7514 #143A75 #75143A
tetradic
#3A7514 #146B75 #4F1475 #751F14
square
#3A7514 #146B75 #4F1475 #751F14
split-complementary
#3A7514 #1F1475 #75146B
monochromatic
#0D1A04 #20410B #3A7514 #54A91D #6EDA29

Accessibility & contrast

On white

5.62
#3A7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3A7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7514
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7514#FFFFFF#000000##FFFFFF
##3A75141.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#377063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a7514;
/* rgb */ color: rgb(58, 117, 20);
/* oklch */ color: oklch(50.3% 0.140 136.4);
Tailwind
colors: {
  custom: {
    50: '#779d5b',
    500: '#3a7514',
    950: '#000000',
  },
}
SCSS
$custom: #3a7514;
$custom-light: #779d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7514",
  "rgb": {
    "r": 58,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 96.495,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.13981,
    "h": 136.4
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#3A7514
secondary
#7F3AAB
accent
#3AEEA7
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7514

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

Preview Lab → · Contrast checker → · Palette generator →

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