#4A7D2D#4A7D2D

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

Color values

HEX#4A7D2D
RGBrgb(74, 125, 45)
HSLhsl(98, 47%, 33%)
HSVhsv(98, 64%, 49%)
CMYKcmyk(40.8%, 0%, 64%, 51%)
CIE-LABlab(47.38, -32.29, 37.32)
CIE-LCHlch(47.38, 49.35, 130.86°)
OKLaboklab(53.55% -0.0895 0.0867)
OKLCHoklch(53.55% 0.125 135.9)
XYZxyz(10.6310, 16.3120, 5.0705)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D2D #602D7D
analogous
#727D2D #4A7D2D #2D7D38
triadic
#4A7D2D #2D4A7D #7D2D4A
tetradic
#4A7D2D #2D727D #602D7D #7D382D
square
#4A7D2D #2D727D #602D7D #7D382D
split-complementary
#4A7D2D #382D7D #7D2D72
monochromatic
#15230D #2F501D #4A7D2D #65AA3D #84C55F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7D2D#FFFFFF#000000##FFFFFF
##4A7D2D1.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)
#817324
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#48786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d2d;
/* rgb */ color: rgb(74, 125, 45);
/* oklch */ color: oklch(53.5% 0.125 135.9);
Tailwind
colors: {
  custom: {
    50: '#80a369',
    500: '#4a7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d2d;
$custom-light: #80a369;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d2d",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 98.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.12459,
    "h": 135.9
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#4A7D2D
secondary
#8E5AAC
accent
#51D7A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4A7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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