#4A8F16#4A8F16

#4A8F16 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.2% C 0.163 H 135.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4A8F16
RGBrgb(74, 143, 22)
HSLhsl(94, 73%, 32%)
HSVhsv(94, 85%, 56%)
CMYKcmyk(48.3%, 0%, 84.6%, 43.9%)
CIE-LABlab(53.12, -41.71, 51.77)
CIE-LCHlch(53.12, 66.48, 128.86°)
OKLaboklab(58.2% -0.1166 0.1137)
OKLCHoklch(58.2% 0.163 135.7)
XYZxyz(12.7910, 21.1579, 4.1688)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8F16 #5B168F
analogous
#868F16 #4A8F16 #168F1F
triadic
#4A8F16 #164A8F #8F164A
tetradic
#4A8F16 #16868F #5B168F #8F1F16
square
#4A8F16 #16868F #5B168F #8F1F16
split-complementary
#4A8F16 #1F168F #8F1686
monochromatic
#132506 #2F5A0E #4A8F16 #65C41E #84E13E

Accessibility & contrast

On white

4.01
#4A8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4A8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8F16
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8F16#FFFFFF#000000##000000
##4A8F161.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#478979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a8f16;
/* rgb */ color: rgb(74, 143, 22);
/* oklch */ color: oklch(58.2% 0.163 135.7);
Tailwind
colors: {
  custom: {
    50: '#84b060',
    500: '#4a8f16',
    950: '#000000',
  },
}
SCSS
$custom: #4a8f16;
$custom-light: #84b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8f16",
  "rgb": {
    "r": 74,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 94.215,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.16286,
    "h": 135.7
  },
  "luminance": 0.21159
}

Semantic roles & 50–950 ramp

primary
#4A8F16
secondary
#8A3FC1
accent
#38F0A1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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