#4A7A14#4A7A14

#4A7A14 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.138 H 132.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4A7A14
RGBrgb(74, 122, 20)
HSLhsl(88, 72%, 28%)
HSVhsv(88, 84%, 48%)
CMYKcmyk(39.3%, 0%, 83.6%, 52.2%)
CIE-LABlab(46.21, -32.82, 46.08)
CIE-LCHlch(46.21, 56.57, 125.46°)
OKLaboklab(52.53% -0.0928 0.1014)
OKLCHoklch(52.53% 0.138 132.5)
XYZxyz(9.9097, 15.4250, 3.1169)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7A14 #44147A
analogous
#7A7714 #4A7A14 #177A14
triadic
#4A7A14 #144A7A #7A144A
tetradic
#4A7A14 #147A77 #44147A #7A1417
square
#4A7A14 #147A77 #44147A #7A1417
split-complementary
#4A7A14 #14177A #77147A
monochromatic
#101A04 #2A450B #4A7A14 #6AAF1D #89DC2C

Accessibility & contrast

On white

5.14
#4A7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4A7A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7A14
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7A14#FFFFFF#000000##FFFFFF
##4A7A141.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#4B7567
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a7a14;
/* rgb */ color: rgb(74, 122, 20);
/* oklch */ color: oklch(52.5% 0.138 132.5);
Tailwind
colors: {
  custom: {
    50: '#81a15c',
    500: '#4a7a14',
    950: '#000000',
  },
}
SCSS
$custom: #4a7a14;
$custom-light: #81a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7a14",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 88.235,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.1375,
    "h": 132.5
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#4A7A14
secondary
#713AB0
accent
#39EF8F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F04
muted
#7C7E79

Preview Lab

Preview with #4A7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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