#4A7919#4A7919

#4A7919 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.134 H 132.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4A7919
RGBrgb(74, 121, 25)
HSLhsl(89, 66%, 29%)
HSVhsv(89, 79%, 47%)
CMYKcmyk(38.8%, 0%, 79.3%, 52.5%)
CIE-LABlab(45.91, -32.09, 44.16)
CIE-LCHlch(45.91, 54.59, 126.01°)
OKLaboklab(52.29% -0.0905 0.0982)
OKLCHoklch(52.29% 0.134 132.7)
XYZxyz(9.8367, 15.2003, 3.3352)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7919 #481979
analogous
#797819 #4A7919 #1A7919
triadic
#4A7919 #194A79 #79194A
tetradic
#4A7919 #197978 #481979 #79191A
square
#4A7919 #197978 #481979 #79191A
split-complementary
#4A7919 #191A79 #781979
monochromatic
#101905 #2B460F #4A7919 #69AC23 #88D637

Accessibility & contrast

On white

5.20
#4A7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4A7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7919
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7919#FFFFFF#000000##FFFFFF
##4A79191.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F03
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#4B7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a7919;
/* rgb */ color: rgb(74, 121, 25);
/* oklch */ color: oklch(52.3% 0.134 132.7);
Tailwind
colors: {
  custom: {
    50: '#81a05e',
    500: '#4a7919',
    950: '#000000',
  },
}
SCSS
$custom: #4a7919;
$custom-light: #81a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7919",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 89.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52292,
    "c": 0.13357,
    "h": 132.7
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#4A7919
secondary
#7640AE
accent
#3FE992
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A7919

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

Preview Lab → · Contrast checker → · Palette generator →

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