#4A7C14#4A7C14

#4A7C14 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.140 H 132.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4A7C14
RGBrgb(74, 124, 20)
HSLhsl(89, 72%, 28%)
HSVhsv(89, 84%, 49%)
CMYKcmyk(40.3%, 0%, 83.9%, 51.4%)
CIE-LABlab(46.87, -33.72, 46.68)
CIE-LCHlch(46.87, 57.58, 125.84°)
OKLaboklab(53.07% -0.0953 0.1027)
OKLCHoklch(53.07% 0.14 132.9)
XYZxyz(10.1578, 15.9212, 3.1996)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7C14 #46147C
analogous
#7C7A14 #4A7C14 #167C14
triadic
#4A7C14 #144A7C #7C144A
tetradic
#4A7C14 #147C7A #46147C #7C1416
square
#4A7C14 #147C7A #46147C #7C1416
split-complementary
#4A7C14 #14167C #7A147C
monochromatic
#101A04 #2B470B #4A7C14 #69B11D #89DD2D

Accessibility & contrast

On white

5.02
#4A7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4A7C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7C14
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7C14#FFFFFF#000000##FFFFFF
##4A7C141.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#4A7769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a7c14;
/* rgb */ color: rgb(74, 124, 20);
/* oklch */ color: oklch(53.1% 0.140 132.9);
Tailwind
colors: {
  custom: {
    50: '#82a25c',
    500: '#4a7c14',
    950: '#000000',
  },
}
SCSS
$custom: #4a7c14;
$custom-light: #82a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7c14",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 88.846,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53072,
    "c": 0.14006,
    "h": 132.9
  },
  "luminance": 0.15922
}

Semantic roles & 50–950 ramp

primary
#4A7C14
secondary
#743AB2
accent
#39EF90
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4A7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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