#4A7E14#4A7E14

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

Color values

HEX#4A7E14
RGBrgb(74, 126, 20)
HSLhsl(89, 73%, 29%)
HSVhsv(89, 84%, 49%)
CMYKcmyk(41.3%, 0%, 84.1%, 50.6%)
CIE-LABlab(47.53, -34.60, 47.28)
CIE-LCHlch(47.53, 58.59, 126.20°)
OKLaboklab(53.61% -0.0976 0.104)
OKLCHoklch(53.61% 0.143 133.2)
XYZxyz(10.4110, 16.4275, 3.2840)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7E14 #48147E
analogous
#7E7D14 #4A7E14 #157E14
triadic
#4A7E14 #144A7E #7E144A
tetradic
#4A7E14 #147E7D #48147E #7E1415
square
#4A7E14 #147E7D #48147E #7E1415
split-complementary
#4A7E14 #14157E #7D147E
monochromatic
#101A04 #2B490C #4A7E14 #69B31C #88DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7E14#FFFFFF#000000##FFFFFF
##4A7E141.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)
#7C6F21
Tritanopia (blue-blind)
#4A796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4a7e14;
/* rgb */ color: rgb(74, 126, 20);
/* oklch */ color: oklch(53.6% 0.143 133.2);
Tailwind
colors: {
  custom: {
    50: '#82a45d',
    500: '#4a7e14',
    950: '#000000',
  },
}
SCSS
$custom: #4a7e14;
$custom-light: #82a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7e14",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 89.434,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.14262,
    "h": 133.2
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#4A7E14
secondary
#763AB3
accent
#38EF92
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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