#3A7C16#3A7C16

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

Color values

HEX#3A7C16
RGBrgb(58, 124, 22)
HSLhsl(99, 70%, 29%)
HSVhsv(99, 82%, 49%)
CMYKcmyk(53.2%, 0%, 82.3%, 51.4%)
CIE-LABlab(46.14, -39.13, 45.12)
CIE-LCHlch(46.14, 59.72, 130.93°)
OKLaboklab(52.27% -0.1086 0.1)
OKLCHoklch(52.27% 0.148 137.3)
XYZxyz(9.0971, 15.3721, 3.2466)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7C16 #58167C
analogous
#6D7C16 #3A7C16 #167C25
triadic
#3A7C16 #163A7C #7C163A
tetradic
#3A7C16 #166D7C #58167C #7C2516
square
#3A7C16 #166D7C #58167C #7C2516
split-complementary
#3A7C16 #25167C #7C166D
monochromatic
#0C1A05 #22480D #3A7C16 #52B01F #6DDB32

Accessibility & contrast

On white

5.15
#3A7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A7C16
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7C16#FFFFFF#000000##FFFFFF
##3A7C161.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a7c16;
/* rgb */ color: rgb(58, 124, 22);
/* oklch */ color: oklch(52.3% 0.148 137.3);
Tailwind
colors: {
  custom: {
    50: '#78a25d',
    500: '#3a7c16',
    950: '#000000',
  },
}
SCSS
$custom: #3a7c16;
$custom-light: #78a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7c16",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 98.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52272,
    "c": 0.14763,
    "h": 137.3
  },
  "luminance": 0.15373
}

Semantic roles & 50–950 ramp

primary
#3A7C16
secondary
#883DB1
accent
#3BEDAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #3A7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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