#3A7414#3A7414

#3A7414 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.139 H 136.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3A7414
RGBrgb(58, 116, 20)
HSLhsl(96, 71%, 27%)
HSVhsv(96, 83%, 45%)
CMYKcmyk(50%, 0%, 82.8%, 54.5%)
CIE-LABlab(43.42, -35.94, 43.22)
CIE-LCHlch(43.42, 56.21, 129.75°)
OKLaboklab(50.03% -0.1001 0.0957)
OKLCHoklch(50.03% 0.139 136.3)
XYZxyz(8.1164, 13.4403, 2.8282)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7414 #4E1474
analogous
#6A7414 #3A7414 #14741E
triadic
#3A7414 #143A74 #74143A
tetradic
#3A7414 #146A74 #4E1474 #741E14
square
#3A7414 #146A74 #4E1474 #741E14
split-complementary
#3A7414 #1E1474 #74146A
monochromatic
#0D1A05 #20400B #3A7414 #54A81D #6FDA28

Accessibility & contrast

On white

5.69
#3A7414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3A7414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7414
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7414#FFFFFF#000000##FFFFFF
##3A74141.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#376F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a7414;
/* rgb */ color: rgb(58, 116, 20);
/* oklch */ color: oklch(50.0% 0.139 136.3);
Tailwind
colors: {
  custom: {
    50: '#779c5b',
    500: '#3a7414',
    950: '#000000',
  },
}
SCSS
$custom: #3a7414;
$custom-light: #779c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7414",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 96.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.13854,
    "h": 136.3
  },
  "luminance": 0.13441
}

Semantic roles & 50–950 ramp

primary
#3A7414
secondary
#7E3AAA
accent
#3AEDA7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7414

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

Preview Lab → · Contrast checker → · Palette generator →

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