#4A7D16#4A7D16

#4A7D16 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.140 H 133.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4A7D16
RGBrgb(74, 125, 22)
HSLhsl(90, 70%, 29%)
HSVhsv(90, 82%, 49%)
CMYKcmyk(40.8%, 0%, 82.4%, 51%)
CIE-LABlab(47.21, -34.06, 46.38)
CIE-LCHlch(47.21, 57.54, 126.29°)
OKLaboklab(53.35% -0.0961 0.1024)
OKLCHoklch(53.35% 0.14 133.2)
XYZxyz(10.3023, 16.1805, 3.3392)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D16 #49167D
analogous
#7D7D16 #4A7D16 #167D16
triadic
#4A7D16 #164A7D #7D164A
tetradic
#4A7D16 #167D7D #49167D #7D1616
square
#4A7D16 #167D7D #49167D #7D1616
split-complementary
#4A7D16 #16167D #7D167D
monochromatic
#0F1A05 #2B490D #4A7D16 #69B11F #88DB32

Accessibility & contrast

On white

4.96
#4A7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4A7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7D16
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7D16#FFFFFF#000000##FFFFFF
##4A7D161.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#4A786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d16;
/* rgb */ color: rgb(74, 125, 22);
/* oklch */ color: oklch(53.4% 0.140 133.2);
Tailwind
colors: {
  custom: {
    50: '#82a35d',
    500: '#4a7d16',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d16;
$custom-light: #82a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d16",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 89.709,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53353,
    "c": 0.14038,
    "h": 133.2
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#4A7D16
secondary
#773DB2
accent
#3BED93
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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