#4A7219#4A7219

#4A7219 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.4% C 0.124 H 131.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4A7219
RGBrgb(74, 114, 25)
HSLhsl(87, 64%, 27%)
HSVhsv(87, 78%, 45%)
CMYKcmyk(35.1%, 0%, 78.1%, 55.3%)
CIE-LABlab(43.60, -28.84, 41.93)
CIE-LCHlch(43.60, 50.89, 124.52°)
OKLaboklab(50.41% -0.0817 0.0935)
OKLCHoklch(50.41% 0.124 131.1)
XYZxyz(9.0167, 13.5603, 3.0618)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7219 #411972
analogous
#726E19 #4A7219 #1E7219
triadic
#4A7219 #194A72 #72194A
tetradic
#4A7219 #19726E #411972 #72191E
square
#4A7219 #19726E #411972 #72191E
split-complementary
#4A7219 #191E72 #6E1972
monochromatic
#101906 #29400E #4A7219 #6BA424 #8BD233

Accessibility & contrast

On white

5.66
#4A7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4A7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7219
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7219#FFFFFF#000000##FFFFFF
##4A72191.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776906
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#4C6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a7219;
/* rgb */ color: rgb(74, 114, 25);
/* oklch */ color: oklch(50.4% 0.124 131.1);
Tailwind
colors: {
  custom: {
    50: '#809b5d',
    500: '#4a7219',
    950: '#000000',
  },
}
SCSS
$custom: #4a7219;
$custom-light: #809b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7219",
  "rgb": {
    "r": 74,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 86.966,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50405,
    "c": 0.12422,
    "h": 131.1
  },
  "luminance": 0.13561
}

Semantic roles & 50–950 ramp

primary
#4A7219
secondary
#6E40A7
accent
#41E78B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7219

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

Preview Lab → · Contrast checker → · Palette generator →

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