#4A7E2D#4A7E2D

#4A7E2D is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.126 H 136.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4A7E2D
RGBrgb(74, 126, 45)
HSLhsl(99, 47%, 34%)
HSVhsv(99, 64%, 49%)
CMYKcmyk(41.3%, 0%, 64.3%, 50.6%)
CIE-LABlab(47.71, -32.74, 37.69)
CIE-LCHlch(47.71, 49.93, 130.98°)
OKLaboklab(53.82% -0.0907 0.0875)
OKLCHoklch(53.82% 0.126 136)
XYZxyz(10.7583, 16.5665, 5.1129)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7E2D #612D7E
analogous
#727E2D #4A7E2D #2D7E39
triadic
#4A7E2D #2D4A7E #7E2D4A
tetradic
#4A7E2D #2D727E #612D7E #7E392D
square
#4A7E2D #2D727E #612D7E #7E392D
split-complementary
#4A7E2D #392D7E #7E2D72
monochromatic
#15240D #30511D #4A7E2D #64AB3D #84C65F

Accessibility & contrast

On white

4.87
#4A7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4A7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7E2D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7E2D#FFFFFF#000000##FFFFFF
##4A7E2D1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827424
Deuteranopia (green-blind)
#7B7033
Tritanopia (blue-blind)
#48796D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4a7e2d;
/* rgb */ color: rgb(74, 126, 45);
/* oklch */ color: oklch(53.8% 0.126 136.0);
Tailwind
colors: {
  custom: {
    50: '#81a469',
    500: '#4a7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #4a7e2d;
$custom-light: #81a469;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7e2d",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 98.519,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.12603,
    "h": 136
  },
  "luminance": 0.16567
}

Semantic roles & 50–950 ramp

primary
#4A7E2D
secondary
#8F5AAC
accent
#51D7A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4A7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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