#4A7119#4A7119

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

Color values

HEX#4A7119
RGBrgb(74, 113, 25)
HSLhsl(87, 64%, 27%)
HSVhsv(87, 78%, 44%)
CMYKcmyk(34.5%, 0%, 77.9%, 55.7%)
CIE-LABlab(43.27, -28.36, 41.61)
CIE-LCHlch(43.27, 50.36, 124.28°)
OKLaboklab(50.14% -0.0804 0.0929)
OKLCHoklch(50.14% 0.123 130.9)
XYZxyz(8.9046, 13.3360, 3.0244)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7119 #401971
analogous
#716C19 #4A7119 #1E7119
triadic
#4A7119 #194A71 #71194A
tetradic
#4A7119 #19716C #401971 #71191E
square
#4A7119 #19716C #401971 #71191E
split-complementary
#4A7119 #191E71 #6C1971
monochromatic
#101906 #293F0E #4A7119 #6BA324 #8BD233

Accessibility & contrast

On white

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

On black

3.67
#4A7119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4A7119#FFFFFF#000000##FFFFFF
##4A71191.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766807
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#4C6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a7119;
/* rgb */ color: rgb(74, 113, 25);
/* oklch */ color: oklch(50.1% 0.123 130.9);
Tailwind
colors: {
  custom: {
    50: '#809a5d',
    500: '#4a7119',
    950: '#000000',
  },
}
SCSS
$custom: #4a7119;
$custom-light: #809a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7119",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 86.591,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.12286,
    "h": 130.9
  },
  "luminance": 0.13336
}

Semantic roles & 50–950 ramp

primary
#4A7119
secondary
#6D40A6
accent
#41E78A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7119

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

Preview Lab → · Contrast checker → · Palette generator →

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