#4A7519#4A7519

#4A7519 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.128 H 131.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4A7519
RGBrgb(74, 117, 25)
HSLhsl(88, 65%, 28%)
HSVhsv(88, 79%, 46%)
CMYKcmyk(36.8%, 0%, 78.6%, 54.1%)
CIE-LABlab(44.59, -30.25, 42.89)
CIE-LCHlch(44.59, 52.48, 125.19°)
OKLaboklab(51.21% -0.0856 0.0956)
OKLCHoklch(51.21% 0.128 131.8)
XYZxyz(9.3607, 14.2482, 3.1765)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7519 #441975
analogous
#757219 #4A7519 #1C7519
triadic
#4A7519 #194A75 #75194A
tetradic
#4A7519 #197572 #441975 #75191C
square
#4A7519 #197572 #441975 #75191C
split-complementary
#4A7519 #191C75 #721975
monochromatic
#101905 #2A430E #4A7519 #6AA724 #89D435

Accessibility & contrast

On white

5.45
#4A7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4A7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7519
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7519#FFFFFF#000000##FFFFFF
##4A75191.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C05
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#4B7064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7519;
/* rgb */ color: rgb(74, 117, 25);
/* oklch */ color: oklch(51.2% 0.128 131.8);
Tailwind
colors: {
  custom: {
    50: '#819d5d',
    500: '#4a7519',
    950: '#000000',
  },
}
SCSS
$custom: #4a7519;
$custom-light: #819d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7519",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 88.043,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.12826,
    "h": 131.8
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

primary
#4A7519
secondary
#7140AA
accent
#40E88E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A7519

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

Preview Lab → · Contrast checker → · Palette generator →

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