#4A7016#4A7016

#4A7016 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.8% C 0.123 H 130.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4A7016
RGBrgb(74, 112, 22)
HSLhsl(85, 67%, 26%)
HSVhsv(85, 80%, 44%)
CMYKcmyk(33.9%, 0%, 80.4%, 56.1%)
CIE-LABlab(42.92, -28.07, 42.36)
CIE-LCHlch(42.92, 50.82, 123.53°)
OKLaboklab(49.85% -0.0799 0.0939)
OKLCHoklch(49.85% 0.123 130.4)
XYZxyz(8.7630, 13.1018, 2.8261)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7016 #3C1670
analogous
#706916 #4A7016 #1D7016
triadic
#4A7016 #164A70 #70164A
tetradic
#4A7016 #167069 #3C1670 #70161D
square
#4A7016 #167069 #3C1670 #70161D
split-complementary
#4A7016 #161D70 #691670
monochromatic
#111A05 #283D0C #4A7016 #6CA320 #8DD52B

Accessibility & contrast

On white

5.80
#4A7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4A7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7016
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7016#FFFFFF#000000##FFFFFF
##4A70161.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#4C6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a7016;
/* rgb */ color: rgb(74, 112, 22);
/* oklch */ color: oklch(49.8% 0.123 130.4);
Tailwind
colors: {
  custom: {
    50: '#80995b',
    500: '#4a7016',
    950: '#000000',
  },
}
SCSS
$custom: #4a7016;
$custom-light: #80995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7016",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 85.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49845,
    "c": 0.12332,
    "h": 130.4
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#4A7016
secondary
#693CA6
accent
#3EEA86
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7016

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

Preview Lab → · Contrast checker → · Palette generator →

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