#3A7014#3A7014

#3A7014 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.133 H 135.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3A7014
RGBrgb(58, 112, 20)
HSLhsl(95, 70%, 26%)
HSVhsv(95, 82%, 44%)
CMYKcmyk(48.2%, 0%, 82.1%, 56.1%)
CIE-LABlab(42.06, -34.23, 41.94)
CIE-LCHlch(42.06, 54.14, 129.22°)
OKLaboklab(48.91% -0.0955 0.093)
OKLCHoklch(48.91% 0.133 135.8)
XYZxyz(7.6652, 12.5379, 2.6778)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7014 #4A1470
analogous
#687014 #3A7014 #14701C
triadic
#3A7014 #143A70 #70143A
tetradic
#3A7014 #146870 #4A1470 #701C14
square
#3A7014 #146870 #4A1470 #701C14
split-complementary
#3A7014 #1C1470 #701468
monochromatic
#0D1A05 #1F3C0B #3A7014 #55A41D #70D827

Accessibility & contrast

On white

5.99
#3A7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3A7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7014
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7014#FFFFFF#000000##FFFFFF
##3A70141.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#386C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a7014;
/* rgb */ color: rgb(58, 112, 20);
/* oklch */ color: oklch(48.9% 0.133 135.8);
Tailwind
colors: {
  custom: {
    50: '#76995a',
    500: '#3a7014',
    950: '#000000',
  },
}
SCSS
$custom: #3a7014;
$custom-light: #76995a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7014",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 95.217,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.13337,
    "h": 135.8
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#3A7014
secondary
#7939A6
accent
#3BEDA3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7014

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

Preview Lab → · Contrast checker → · Palette generator →

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