#4A7D1D#4A7D1D

#4A7D1D is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.136 H 133.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A7D1D
RGBrgb(74, 125, 29)
HSLhsl(92, 62%, 30%)
HSVhsv(92, 77%, 49%)
CMYKcmyk(40.8%, 0%, 76.8%, 51%)
CIE-LABlab(47.25, -33.64, 44.01)
CIE-LCHlch(47.25, 55.40, 127.39°)
OKLaboklab(53.4% -0.0944 0.0985)
OKLCHoklch(53.4% 0.136 133.8)
XYZxyz(10.3792, 16.2113, 3.7444)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D1D #501D7D
analogous
#7A7D1D #4A7D1D #1D7D20
triadic
#4A7D1D #1D4A7D #7D1D4A
tetradic
#4A7D1D #1D7A7D #501D7D #7D201D
square
#4A7D1D #1D7A7D #501D7D #7D201D
split-complementary
#4A7D1D #201D7D #7D1D7A
monochromatic
#0F1A06 #2D4B11 #4A7D1D #67AF29 #86D341

Accessibility & contrast

On white

4.95
#4A7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4A7D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7D1D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7D1D#FFFFFF#000000##FFFFFF
##4A7D1D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827309
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#4A786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d1d;
/* rgb */ color: rgb(74, 125, 29);
/* oklch */ color: oklch(53.4% 0.136 133.8);
Tailwind
colors: {
  custom: {
    50: '#81a360',
    500: '#4a7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d1d;
$custom-light: #81a360;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d1d",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 91.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.13648,
    "h": 133.8
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#4A7D1D
secondary
#7E45B1
accent
#42E599
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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