#4A7116#4A7116

#4A7116 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.125 H 130.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4A7116
RGBrgb(74, 113, 22)
HSLhsl(86, 67%, 26%)
HSVhsv(86, 81%, 44%)
CMYKcmyk(34.5%, 0%, 80.5%, 55.7%)
CIE-LABlab(43.25, -28.55, 42.68)
CIE-LCHlch(43.25, 51.34, 123.78°)
OKLaboklab(50.11% -0.0812 0.0946)
OKLCHoklch(50.11% 0.125 130.6)
XYZxyz(8.8739, 13.3237, 2.8631)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7116 #3D1671
analogous
#716B16 #4A7116 #1D7116
triadic
#4A7116 #164A71 #71164A
tetradic
#4A7116 #16716B #3D1671 #71161D
square
#4A7116 #16716B #3D1671 #71161D
split-complementary
#4A7116 #161D71 #6B1671
monochromatic
#111A05 #283E0C #4A7116 #6CA420 #8DD62C

Accessibility & contrast

On white

5.73
#4A7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4A7116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7116
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7116#FFFFFF#000000##FFFFFF
##4A71161.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766801
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#4C6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a7116;
/* rgb */ color: rgb(74, 113, 22);
/* oklch */ color: oklch(50.1% 0.125 130.6);
Tailwind
colors: {
  custom: {
    50: '#809a5b',
    500: '#4a7116',
    950: '#000000',
  },
}
SCSS
$custom: #4a7116;
$custom-light: #809a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7116",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 85.714,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50115,
    "c": 0.12465,
    "h": 130.6
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#4A7116
secondary
#6A3CA7
accent
#3EEA88
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7116

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

Preview Lab → · Contrast checker → · Palette generator →

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