#3A7C14#3A7C14

#3A7C14 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.3% C 0.149 H 137.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3A7C14
RGBrgb(58, 124, 20)
HSLhsl(98, 72%, 28%)
HSVhsv(98, 84%, 49%)
CMYKcmyk(53.2%, 0%, 83.9%, 51.4%)
CIE-LABlab(46.13, -39.24, 45.73)
CIE-LCHlch(46.13, 60.26, 130.63°)
OKLaboklab(52.26% -0.109 0.101)
OKLCHoklch(52.26% 0.149 137.2)
XYZxyz(9.0786, 15.3647, 3.1490)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7C14 #56147C
analogous
#6E7C14 #3A7C14 #147C22
triadic
#3A7C14 #143A7C #7C143A
tetradic
#3A7C14 #146E7C #56147C #7C2214
square
#3A7C14 #146E7C #56147C #7C2214
split-complementary
#3A7C14 #22147C #7C146E
monochromatic
#0C1A04 #21470B #3A7C14 #53B11D #6EDD2D

Accessibility & contrast

On white

5.16
#3A7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3A7C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7C14
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7C14#FFFFFF#000000##FFFFFF
##3A7C141.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#367769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a7c14;
/* rgb */ color: rgb(58, 124, 20);
/* oklch */ color: oklch(52.3% 0.149 137.2);
Tailwind
colors: {
  custom: {
    50: '#78a25c',
    500: '#3a7c14',
    950: '#000000',
  },
}
SCSS
$custom: #3a7c14;
$custom-light: #78a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7c14",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 98.077,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52261,
    "c": 0.1486,
    "h": 137.2
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#3A7C14
secondary
#863AB2
accent
#39EFAC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #3A7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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