#4A7411#4A7411

#4A7411 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.9% C 0.131 H 131.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4A7411
RGBrgb(74, 116, 17)
HSLhsl(85, 74%, 26%)
HSVhsv(85, 85%, 45%)
CMYKcmyk(36.2%, 0%, 85.3%, 54.5%)
CIE-LABlab(44.21, -30.22, 45.16)
CIE-LCHlch(44.21, 54.34, 123.79°)
OKLaboklab(50.9% -0.086 0.099)
OKLCHoklch(50.9% 0.131 131)
XYZxyz(9.1705, 13.9867, 2.7467)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7411 #3B1174
analogous
#746C11 #4A7411 #187411
triadic
#4A7411 #114A74 #74114A
tetradic
#4A7411 #11746C #3B1174 #741118
square
#4A7411 #11746C #3B1174 #741118
split-complementary
#4A7411 #111874 #6C1174
monochromatic
#111B04 #283F09 #4A7411 #6CA919 #8EDE21

Accessibility & contrast

On white

5.53
#4A7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4A7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7411
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7411#FFFFFF#000000##FFFFFF
##4A74111.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#4C6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7411;
/* rgb */ color: rgb(74, 116, 17);
/* oklch */ color: oklch(50.9% 0.131 131.0);
Tailwind
colors: {
  custom: {
    50: '#819c5a',
    500: '#4a7411',
    950: '#000000',
  },
}
SCSS
$custom: #4a7411;
$custom-light: #819c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7411",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 85.455,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50896,
    "c": 0.13115,
    "h": 131
  },
  "luminance": 0.13987
}

Semantic roles & 50–950 ramp

primary
#4A7411
secondary
#6836AB
accent
#37F186
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7411

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

Preview Lab → · Contrast checker → · Palette generator →

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