#4A7D2A#4A7D2A

#4A7D2A is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.127 H 135.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4A7D2A
RGBrgb(74, 125, 42)
HSLhsl(97, 50%, 33%)
HSVhsv(97, 66%, 49%)
CMYKcmyk(40.8%, 0%, 66.4%, 51%)
CIE-LABlab(47.35, -32.59, 38.69)
CIE-LCHlch(47.35, 50.58, 130.11°)
OKLaboklab(53.51% -0.0905 0.0892)
OKLCHoklch(53.51% 0.127 135.4)
XYZxyz(10.5753, 16.2897, 4.7770)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D2A #5D2A7D
analogous
#747D2A #4A7D2A #2A7D33
triadic
#4A7D2A #2A4A7D #7D2A4A
tetradic
#4A7D2A #2A747D #5D2A7D #7D332A
square
#4A7D2A #2A747D #5D2A7D #7D332A
split-complementary
#4A7D2A #332A7D #7D2A74
monochromatic
#14210B #2F4F1B #4A7D2A #65AB39 #84C85A

Accessibility & contrast

On white

4.93
#4A7D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4A7D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7D2A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7D2A#FFFFFF#000000##FFFFFF
##4A7D2A1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827320
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#49786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d2a;
/* rgb */ color: rgb(74, 125, 42);
/* oklch */ color: oklch(53.5% 0.127 135.4);
Tailwind
colors: {
  custom: {
    50: '#81a368',
    500: '#4a7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d2a;
$custom-light: #81a368;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d2a",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 96.867,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.12711,
    "h": 135.4
  },
  "luminance": 0.1629
}

Semantic roles & 50–950 ramp

primary
#4A7D2A
secondary
#8B56AD
accent
#4FD9A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4A7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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