#4A7019#4A7019

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

Color values

HEX#4A7019
RGBrgb(74, 112, 25)
HSLhsl(86, 64%, 27%)
HSVhsv(86, 78%, 44%)
CMYKcmyk(33.9%, 0%, 77.7%, 56.1%)
CIE-LABlab(42.93, -27.89, 41.29)
CIE-LCHlch(42.93, 49.82, 124.04°)
OKLaboklab(49.87% -0.0792 0.0922)
OKLCHoklch(49.87% 0.122 130.7)
XYZxyz(8.7936, 13.1141, 2.9875)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7019 #3F1970
analogous
#706B19 #4A7019 #1E7019
triadic
#4A7019 #194A70 #70194A
tetradic
#4A7019 #19706B #3F1970 #70191E
square
#4A7019 #19706B #3F1970 #70191E
split-complementary
#4A7019 #191E70 #6B1970
monochromatic
#111906 #293E0E #4A7019 #6BA224 #8CD132

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7019#FFFFFF#000000##FFFFFF
##4A70191.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)
#756707
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#4C6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a7019;
/* rgb */ color: rgb(74, 112, 25);
/* oklch */ color: oklch(49.9% 0.122 130.7);
Tailwind
colors: {
  custom: {
    50: '#80995d',
    500: '#4a7019',
    950: '#000000',
  },
}
SCSS
$custom: #4a7019;
$custom-light: #80995d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7019",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 86.207,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49866,
    "c": 0.12151,
    "h": 130.7
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#4A7019
secondary
#6C40A5
accent
#41E789
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7019

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

Preview Lab → · Contrast checker → · Palette generator →

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