#3A7A16#3A7A16

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

Color values

HEX#3A7A16
RGBrgb(58, 122, 22)
HSLhsl(98, 69%, 28%)
HSVhsv(98, 82%, 48%)
CMYKcmyk(52.5%, 0%, 82%, 52.2%)
CIE-LABlab(45.46, -38.31, 44.48)
CIE-LCHlch(45.46, 58.71, 130.74°)
OKLaboklab(51.72% -0.1064 0.0987)
OKLCHoklch(51.72% 0.145 137.2)
XYZxyz(8.8490, 14.8759, 3.1639)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7A16 #56167A
analogous
#6C7A16 #3A7A16 #167A24
triadic
#3A7A16 #163A7A #7A163A
tetradic
#3A7A16 #166C7A #56167A #7A2416
square
#3A7A16 #166C7A #56167A #7A2416
split-complementary
#3A7A16 #24167A #7A166C
monochromatic
#0C1A05 #21460D #3A7A16 #53AE1F #6EDA31

Accessibility & contrast

On white

5.28
#3A7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#3A7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7A16
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7A16#FFFFFF#000000##FFFFFF
##3A7A161.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#367568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a7a16;
/* rgb */ color: rgb(58, 122, 22);
/* oklch */ color: oklch(51.7% 0.145 137.2);
Tailwind
colors: {
  custom: {
    50: '#77a15d',
    500: '#3a7a16',
    950: '#000000',
  },
}
SCSS
$custom: #3a7a16;
$custom-light: #77a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7a16",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 98.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.14513,
    "h": 137.2
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#3A7A16
secondary
#863DAF
accent
#3CECAD
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #3A7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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