#4A7D19#4A7D19

#4A7D19 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.139 H 133.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A7D19
RGBrgb(74, 125, 25)
HSLhsl(91, 67%, 29%)
HSVhsv(91, 80%, 49%)
CMYKcmyk(40.8%, 0%, 80%, 51%)
CIE-LABlab(47.23, -33.89, 45.42)
CIE-LCHlch(47.23, 56.67, 126.73°)
OKLaboklab(53.37% -0.0954 0.1008)
OKLCHoklch(53.37% 0.139 133.4)
XYZxyz(10.3330, 16.1928, 3.5006)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D19 #4C197D
analogous
#7C7D19 #4A7D19 #197D1A
triadic
#4A7D19 #194A7D #7D194A
tetradic
#4A7D19 #197C7D #4C197D #7D1A19
square
#4A7D19 #197C7D #4C197D #7D1A19
split-complementary
#4A7D19 #1A197D #7D197C
monochromatic
#0F1A05 #2C4A0F #4A7D19 #68B023 #87D739

Accessibility & contrast

On white

4.95
#4A7D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4A7D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7D19
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7D19#FFFFFF#000000##FFFFFF
##4A7D191.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#7B6F24
Tritanopia (blue-blind)
#4A786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d19;
/* rgb */ color: rgb(74, 125, 25);
/* oklch */ color: oklch(53.4% 0.139 133.4);
Tailwind
colors: {
  custom: {
    50: '#81a35e',
    500: '#4a7d19',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d19;
$custom-light: #81a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d19",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 90.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.13882,
    "h": 133.4
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

primary
#4A7D19
secondary
#7A40B1
accent
#3EEA96
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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