#4A7D1C#4A7D1C

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

Color values

HEX#4A7D1C
RGBrgb(74, 125, 28)
HSLhsl(92, 63%, 30%)
HSVhsv(92, 78%, 49%)
CMYKcmyk(40.8%, 0%, 77.6%, 51%)
CIE-LABlab(47.24, -33.71, 44.38)
CIE-LCHlch(47.24, 55.73, 127.22°)
OKLaboklab(53.39% -0.0947 0.0991)
OKLCHoklch(53.39% 0.137 133.7)
XYZxyz(10.3671, 16.2064, 3.6803)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D1C #4F1C7D
analogous
#7B7D1C #4A7D1C #1C7D1E
triadic
#4A7D1C #1C4A7D #7D1C4A
tetradic
#4A7D1C #1C7B7D #4F1C7D #7D1E1C
square
#4A7D1C #1C7B7D #4F1C7D #7D1E1C
split-complementary
#4A7D1C #1E1C7D #7D1C7B
monochromatic
#0F1906 #2C4B11 #4A7D1C #68AF27 #86D43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7D1C#FFFFFF#000000##FFFFFF
##4A7D1C1.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)
#827307
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#4A786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d1c;
/* rgb */ color: rgb(74, 125, 28);
/* oklch */ color: oklch(53.4% 0.137 133.7);
Tailwind
colors: {
  custom: {
    50: '#81a360',
    500: '#4a7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d1c;
$custom-light: #81a360;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d1c",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 91.546,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.53391,
    "c": 0.13709,
    "h": 133.7
  },
  "luminance": 0.16207
}

Semantic roles & 50–950 ramp

primary
#4A7D1C
secondary
#7D44B1
accent
#41E698
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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