#4A7A16#4A7A16

#4A7A16 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.137 H 132.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4A7A16
RGBrgb(74, 122, 22)
HSLhsl(89, 69%, 28%)
HSVhsv(89, 82%, 48%)
CMYKcmyk(39.3%, 0%, 82%, 52.2%)
CIE-LABlab(46.22, -32.72, 45.46)
CIE-LCHlch(46.22, 56.01, 125.74°)
OKLaboklab(52.54% -0.0924 0.1005)
OKLCHoklch(52.54% 0.137 132.6)
XYZxyz(9.9283, 15.4324, 3.2145)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7A16 #46167A
analogous
#7A7816 #4A7A16 #187A16
triadic
#4A7A16 #164A7A #7A164A
tetradic
#4A7A16 #167A78 #46167A #7A1618
square
#4A7A16 #167A78 #46167A #7A1618
split-complementary
#4A7A16 #16187A #78167A
monochromatic
#101A05 #2B460D #4A7A16 #69AE1F #89DA31

Accessibility & contrast

On white

5.14
#4A7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4A7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7A16
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7A16#FFFFFF#000000##FFFFFF
##4A7A161.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#4B7568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a7a16;
/* rgb */ color: rgb(74, 122, 22);
/* oklch */ color: oklch(52.5% 0.137 132.6);
Tailwind
colors: {
  custom: {
    50: '#81a15d',
    500: '#4a7a16',
    950: '#000000',
  },
}
SCSS
$custom: #4a7a16;
$custom-light: #81a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7a16",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 88.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.13651,
    "h": 132.6
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#4A7A16
secondary
#743DAF
accent
#3CEC90
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4A7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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