#4A7E16#4A7E16

#4A7E16 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.142 H 133.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4A7E16
RGBrgb(74, 126, 22)
HSLhsl(90, 70%, 29%)
HSVhsv(90, 83%, 49%)
CMYKcmyk(41.3%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.54, -34.50, 46.69)
CIE-LCHlch(47.54, 58.05, 126.47°)
OKLaboklab(53.62% -0.0972 0.103)
OKLCHoklch(53.62% 0.142 133.4)
XYZxyz(10.4296, 16.4350, 3.3816)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7E16 #4A167E
analogous
#7E7E16 #4A7E16 #167E16
triadic
#4A7E16 #164A7E #7E164A
tetradic
#4A7E16 #167E7E #4A167E #7E1616
square
#4A7E16 #167E7E #4A167E #7E1616
split-complementary
#4A7E16 #16167E #7E167E
monochromatic
#0F1A05 #2B4A0D #4A7E16 #69B21F #87DB33

Accessibility & contrast

On white

4.90
#4A7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4A7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7E16
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7E16#FFFFFF#000000##FFFFFF
##4A7E161.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#4A796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4a7e16;
/* rgb */ color: rgb(74, 126, 22);
/* oklch */ color: oklch(53.6% 0.142 133.4);
Tailwind
colors: {
  custom: {
    50: '#82a45d',
    500: '#4a7e16',
    950: '#000000',
  },
}
SCSS
$custom: #4a7e16;
$custom-light: #82a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7e16",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.14166,
    "h": 133.4
  },
  "luminance": 0.16435
}

Semantic roles & 50–950 ramp

primary
#4A7E16
secondary
#783DB3
accent
#3BED94
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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