#3A7D16#3A7D16

#3A7D16 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.5% C 0.149 H 137.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3A7D16
RGBrgb(58, 125, 22)
HSLhsl(99, 70%, 29%)
HSVhsv(99, 82%, 49%)
CMYKcmyk(53.6%, 0%, 82.4%, 51%)
CIE-LABlab(46.48, -39.53, 45.43)
CIE-LCHlch(46.48, 60.23, 131.03°)
OKLaboklab(52.55% -0.1097 0.1007)
OKLCHoklch(52.55% 0.149 137.4)
XYZxyz(9.2231, 15.6240, 3.2886)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7D16 #59167D
analogous
#6E7D16 #3A7D16 #167D26
triadic
#3A7D16 #163A7D #7D163A
tetradic
#3A7D16 #166E7D #59167D #7D2616
square
#3A7D16 #166E7D #59167D #7D2616
split-complementary
#3A7D16 #26167D #7D166E
monochromatic
#0C1A05 #22490D #3A7D16 #52B11F #6DDB32

Accessibility & contrast

On white

5.09
#3A7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3A7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7D16
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7D16#FFFFFF#000000##FFFFFF
##3A7D161.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#35786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a7d16;
/* rgb */ color: rgb(58, 125, 22);
/* oklch */ color: oklch(52.5% 0.149 137.4);
Tailwind
colors: {
  custom: {
    50: '#78a35d',
    500: '#3a7d16',
    950: '#000000',
  },
}
SCSS
$custom: #3a7d16;
$custom-light: #78a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7d16",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 99.029,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.14888,
    "h": 137.4
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#3A7D16
secondary
#893DB2
accent
#3BEDAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #3A7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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