#4A7E19#4A7E19

#4A7E19 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.140 H 133.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4A7E19
RGBrgb(74, 126, 25)
HSLhsl(91, 67%, 30%)
HSVhsv(91, 80%, 49%)
CMYKcmyk(41.3%, 0%, 80.2%, 50.6%)
CIE-LABlab(47.56, -34.34, 45.73)
CIE-LCHlch(47.56, 57.19, 126.90°)
OKLaboklab(53.64% -0.0966 0.1015)
OKLCHoklch(53.64% 0.14 133.6)
XYZxyz(10.4602, 16.4472, 3.5430)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7E19 #4D197E
analogous
#7D7E19 #4A7E19 #197E1B
triadic
#4A7E19 #194A7E #7E194A
tetradic
#4A7E19 #197D7E #4D197E #7E1B19
square
#4A7E19 #197D7E #4D197E #7E1B19
split-complementary
#4A7E19 #1B197E #7E197D
monochromatic
#0F1A05 #2C4B0F #4A7E19 #68B123 #86D83A

Accessibility & contrast

On white

4.90
#4A7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4A7E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7E19
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7E19#FFFFFF#000000##FFFFFF
##4A7E191.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#4A796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4a7e19;
/* rgb */ color: rgb(74, 126, 25);
/* oklch */ color: oklch(53.6% 0.140 133.6);
Tailwind
colors: {
  custom: {
    50: '#82a45f',
    500: '#4a7e19',
    950: '#000000',
  },
}
SCSS
$custom: #4a7e19;
$custom-light: #82a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7e19",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 90.891,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.14011,
    "h": 133.6
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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