#4A8E16#4A8E16

#4A8E16 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 57.9% C 0.162 H 135.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A8E16
RGBrgb(74, 142, 22)
HSLhsl(94, 73%, 32%)
HSVhsv(94, 85%, 56%)
CMYKcmyk(47.9%, 0%, 84.5%, 44.3%)
CIE-LABlab(52.79, -41.30, 51.47)
CIE-LCHlch(52.79, 66.00, 128.75°)
OKLaboklab(57.94% -0.1155 0.1131)
OKLCHoklch(57.94% 0.162 135.6)
XYZxyz(12.6415, 20.8590, 4.1190)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8E16 #5A168E
analogous
#868E16 #4A8E16 #168E1E
triadic
#4A8E16 #164A8E #8E164A
tetradic
#4A8E16 #16868E #5A168E #8E1E16
square
#4A8E16 #16868E #5A168E #8E1E16
split-complementary
#4A8E16 #1E168E #8E1686
monochromatic
#132406 #2E590E #4A8E16 #66C31E #84E13D

Accessibility & contrast

On white

4.06
#4A8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4A8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8E16
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8E16#FFFFFF#000000##000000
##4A8E161.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#478879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a8e16;
/* rgb */ color: rgb(74, 142, 22);
/* oklch */ color: oklch(57.9% 0.162 135.6);
Tailwind
colors: {
  custom: {
    50: '#84b060',
    500: '#4a8e16',
    950: '#000000',
  },
}
SCSS
$custom: #4a8e16;
$custom-light: #84b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8e16",
  "rgb": {
    "r": 74,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 94,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57935,
    "c": 0.16165,
    "h": 135.6
  },
  "luminance": 0.2086
}

Semantic roles & 50–950 ramp

primary
#4A8E16
secondary
#893FC1
accent
#38F0A0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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